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:/Program Files/VisualSVN Server/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:\Program Files\CruiseControl.NET\server\LADNSServer1\WorkingDirectory</workingDirectory> <!--我们要编译的解决方案名--> <projectFile>LADNSServer.sln</projectFile> <!--编译参数--> <buildArgs>/v:quiet /noconlog /p:Configuration=Debug</buildArgs> <!--记录编译的详细日志--> <logger>C:\Program Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll</logger> <targets></targets> </msbuild> <!--单元测试--> <exec> <!--Call mstest to run the tests contained in the TestProject --> <executable>C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe</executable> <!--测试路径--> <baseDirectory>C:\Program Files\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:\Program Files\CruiseControl.NET\server\LADNSServer1\WorkingDirectory\results.xml</file> </files> </merge> <xmllogger /> <statistics /> </publishers> </project> </cruisecontrol>
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。