本次持續化整合平台,使用比較流行的系統 cc.net同時一起的還有系統跟蹤管理系統,代碼版本管理svn。
構建的持續化整合平台,主要包含了自動化擷取最新代碼,自動化編譯,自動化檢測代碼規範,自動化單元測試,自動化覆蓋率測試,自動化部署。
平台軟體:
cc.net-1.8.2
trac-0.01 ---windows安裝環境下所需的軟體
fxcop-1.3
stylecop-4.7
TestDriven.NET-2.14.2190_Personal
開發軟體:
visual studio 2010
sql server 2005
TestDriven.NET
fxcop-1.3
StyleCop-4.7.41.0.msi
iis6.0
lucene.net
Apsara Distributed File System分片語件
Nhibernate
依賴注入(待定)
微軟企業庫中的驗證或者FluentValidation
jquery
DDD
ccnet.config
<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! --> <project name="MyFirstProject" description="demoproject showing a small config"> <triggers> <!-- check the source control every X time for changes, and run the tasks if changes are found --> <intervalTrigger name="continuous" seconds="30" buildCondition="IfModificationExists" initialSeconds="5"/> </triggers> <!--<sourcecontrol type="nullSourceControl" alwaysModified="true"> </sourcecontrol>--> <sourcecontrol type="svn"> <authCaching>None</authCaching> <autoGetSource>True</autoGetSource> <checkExternals>False</checkExternals> <checkExternalsRecursive>True</checkExternalsRecursive> <cleanCopy>False</cleanCopy> <cleanUp>False</cleanUp> <deleteObstructions>False</deleteObstructions> <dynamicValues /> <executable>C:\Program Files\VisualSVN Server\bin\svn.exe</executable> <forceUpdate>False</forceUpdate> <username>cj</username> <password>12</password> <revert>False</revert> <tagOnSuccess>False</tagOnSuccess> <tagWorkingCopy>False</tagWorkingCopy> <timeout>600000</timeout> <trunkUrl>http://localhost:8089/svn/TestPro/trunk/</trunkUrl> <workingDirectory>D:\tmp</workingDirectory> <revisionNumbers>False</revisionNumbers> </sourcecontrol> <tasks> <exec> <!-- if you want the task to fail, ping an unknown server --> <executable>ping.exe</executable> <buildArgs>localhost</buildArgs> <buildTimeoutSeconds>15</buildTimeoutSeconds> <description>Pinging a server</description> </exec> <!--<nunit> <path>C:\Program Files\TestDriven.NET 2.0\NUnit\2.4\nunit-console.exe</path> <assemblies> <assembly>D:\tmp\src\Orchard.Core.Tests\bin\Debug\Orchard.Core.Tests.dll</assembly> <assembly>D:\tmp\src\Orchard.Tests\bin\Debug\Orchard.Framework.Tests.dll</assembly> </assemblies> <timeout>60000</timeout> </nunit>--> </tasks> <publishers> <xmllogger /> <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="50" /> </publishers> </project></cruisecontrol>