Search: Advanced search
Please enter a keyword or ID
Surround SCM CruiseControl.NET Integration
Surround SCM supports integration with CruiseControl.NET.
To use the integration, add the project files to Surround SCM and the following information to the CruiseControl.NET server configuration file (e.g., C:\Program Files\CruiseControl.NET\server\ccnet.config).
The attached file is an example configuration file for a C# application named WysiCM.
Note: The Surround SCM CLI requires quotation marks around parameters that contain spaces. For example,
Branching and labeling variables cannot be used in the configuration file. If you want to create a snapshot branch or label after the build is complete, you can use a batch file to run the commands.
For example, the snap.bat file used to create a snapshot in the example contains the following:
sscm mb "WysiCM 1.x - %CCNetBuildDate%" "WysiCorp Products/WysiCM" -b"WysiCM 1.x" -cc"CC.NET Build" -ssnapshot -yAdministrator: -z127.0.0.1:4900
To start a build, double-click the CruiseControl.NET server executable (e.g., C:\Program Files\CruiseControl.NET\server\ccnet.exe). The CruiseControl.NET command console opens and displays the build progress. Close the console when the build finishes. If the console remains open, CruiseControl.NET rebuilds the application every time it detects a change in the source files.
Use the ccnet.log file (e.g., C:\Program Files\CruiseControl.NET\server\ccnet.log) to troubleshoot failed builds.