Hi,
I
have been having this problem intermittently. I have a CSharp solution being
built on the hour via CC.Net - Now I have this pattern
repeating.
Someone breaks the build. The CI Server goes into red correctly stating
the error. The person now checks in the fix and issues a force build. The source
is checked out alright but the build fails again and the errors/ message is
recycled on the CCNet dashboard. (Any number of force-builds lead to the same
result.) Now I open the solution in the IDE and do a rebuild. The solution
builds successfully.
Incorrect reporting... I end up with
egg on my face for starting this CI thing here:) on a more serious note, here's
the Nant log from the CC.Net dashboard
[copy] Copying
'C:\GC6-Build-India\RootBuild\source\UOM_new\obj\Debug\UOMSystem.dll' to
'C:\GC6-Build-India\RootBuild\Bin\UOMSystem.dll'.
[solution] Build failed.
[solution] Project 'GateCycleMain' failed!
[solution] Continuing build with non-dependent projects.
[solution] Solution failed to build! Failed projects were:
[solution] - GateCycleMain
[solution] Build failed.
[solution] Project 'GateCycleMain' failed!
[solution] Continuing build with non-dependent projects.
[solution] Solution failed to build! Failed projects were:
[solution] - GateCycleMain
Build Error: NAnt.Core.BuildException
Project build failed.
in C:\GC6-Build-India\RootBuild\GC.build line: 37 col: 11
Project build failed.
in C:\GC6-Build-India\RootBuild\GC.build line: 37 col: 11
at
NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
The
line in question here is
<solution configuration="${BuildConfig}"
solutionfile="${SolutionFilePath}" verbose="true" >
</solution>
Thanks,
Gishu Pillai