CJCMS系列—電子商務網站案例準備工作即持續整合平台的搭建

來源:互聯網
上載者:User

  本次持續化整合平台,使用比較流行的系統 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>

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.