您好,登錄后才能下訂單哦!
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>
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。