CJCMS系列---电子商务网站案例准备工作即持续集成平台的搭建
本次持续化集成平台,使用比较流行的系统 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
盘古分词组件
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>