CruiseControl.NET持续集成配置说明:

<cruisecontrol><!--新建一个项目工程文件,新的项目文件放在<project></project>里面--><project><!--***.***.***.***为IP地址--><webURL>http://***.***.***.***/ccnet/server/local/project/LADNSServer/ViewProjectReport.aspx</webURL><name>LADNSServer140</name><!--CCNET中设置持续化构建的时间以及周期--><triggers><!--间隔触发器,可以设定两次执行间隔--><intervalTriggersecondsintervalTriggerseconds="60"/></triggers><modificationDelaySeconds>2</modificationDelaySeconds><sourcecontroltypesourcecontroltype="svn"><!--项目版本库所在svn服务器的url--><trunkUrl>http://svn.it.henu.edu.cn/svn/IISTools/trunk/LADNSServer1</trunkUrl><!--svn执行文件所在的路径--><executable>C:/ProgramFiles/VisualSVNServer/bin/svn.exe</executable><!--svn用户名--><username>****</username><!--svn密码--><password>*****</password></sourcecontrol><!--编译解决方案--><tasks><msbuild><!--msbuild所在的路径--><executable>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable><!--我们要编译的解决方案所在的路径--><workingDirectory>C:\ProgramFiles\CruiseControl.NET\server\LADNSServer1\WorkingDirectory</workingDirectory><!--我们要编译的解决方案名--><projectFile>LADNSServer.sln</projectFile><!--编译参数--><buildArgs>/v:quiet/noconlog/p:Configuration=Debug</buildArgs><!--记录编译的详细日志--><logger>C:\ProgramFiles\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll</logger><targets></targets></msbuild><!--单元测试--><exec><!--CallmstesttorunthetestscontainedintheTestProject--><executable>C:\ProgramFiles\MicrosoftVisualStudio10.0\Common7\IDE\MSTest.exe</executable><!--测试路径--><baseDirectory>C:\ProgramFiles\CruiseControl.NET\server\LADNSServer1\WorkingDirectory</baseDirectory><!--测试需要的文件--><buildArgs>/testcontainer:LADNSServer1\LADNSServer.DnsServerLibTest\bin\Debug\LADNSServer.DnsServerLibTest.dll/runconfig:Local.testsettings/resultsfile:testResults.trx</buildArgs><!--测试间隔时间--><buildTimeoutSeconds>120</buildTimeoutSeconds></exec></tasks><!--发布和部署配置--><publishers><merge><files><file>C:\ProgramFiles\CruiseControl.NET\server\LADNSServer1\WorkingDirectory\results.xml</file></files></merge><xmllogger/><statistics/></publishers></project></cruisecontrol>