I am just starting to create a Continuous Integration Server using CruiseControl.Net. To make things easy to start, I used the Visual Studio task to complete the assembly, specifying it in the project solution file. However, when the build process occurs, CC.Net successfully retrieves the latest version of the source code from Subversion and appears to run the devenv command. After this, the build process will fail, but there is no explanation for this. Here is the result:
STRICTLY FAILURE
Project: MyProject Build
date: 2009-09-09 16:31:13
Duration: 00:00:49
Integration request: the toolbar starts the assembly (ForceBuild)
Changes since last build (0)
Test runs: 0, Errors: 0, Do not start: 0, Time: 0 seconds, the project has no tests
Nothing is displayed on the page. My XML logs also show no build results.
This is my configuration file:
<cruisecontrol>
<project name="MyProject">
<workingDirectory>C:\Users\Builder\Desktop\builder-pc\MyProject</workingDirectory>
<sourcecontrol type="svn">
<trunkUrl>svn://builder-pc/MyProject/trunk</trunkUrl>
<workingDirectory>C:\Users\Builder\Desktop\builder-pc\MyProject</workingDirectory>
<executable>C:\Program Files\Subversion\bin\svn.exe</executable>
<autoGetSource>True</autoGetSource>
<tagOnSuccess>True</tagOnSuccess>
</sourcecontrol>
<tasks>
<devenv>
<solutionfile>C:\Users\Builder\Desktop\builder-pc\MyProject\trunk\MyProject.sln</solutionfile>
<configuration>release</configuration>
<buildtype>Rebuild</buildtype>
<executable>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe</executable>
<buildTimeoutSeconds>600</buildTimeoutSeconds>
</devenv>
</tasks>
</project>
</cruisecontrol>
I intentionally deleted things like username and password SVN.
Building a solution using VS command line commands, albeit with warnings. This uses the same verses that CC.Net will use.
Can anyone help? Unsuccessful because there are no single tests to run or because of warnings? Or is it better to switch to MSBuild or NAnt instead of using a Visual Studio task?
source
share