温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

CruiseControl.NET ccnet.config 配置

发布时间:2020-05-08 18:59:43 阅读:1520 作者:canyan3073 栏目:编程语言
开发者测试专用服务器限时活动,0元免费领,库存有限,领完即止! 点击查看>>

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元/月。点击查看>>

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI

开发者交流群×