ccnet.config配置文件

上一篇 / 下一篇  2009-10-22 11:38:12 / 个人分类:原創

<cruisecontrol>

        <!—自动编译的项目名称及编译结果存放、显示的路径-->

   <projectname="PerMerchant"queue="Q1"queuePriority="1">

     <workingDirectory>F:\Integration\TEST\WorkingDirectory</workingDirectory>

     <artifactDirectory>F:\Integration\TEST\Artifacts</artifactDirectory>

<webURL>

http://192.168.3.99/ccnet/server/local/project/TEST/ViewLatestBuildReport.aspx

</webURL>

     <modificationDelaySeconds>10</modificationDelaySeconds>

        <!—

以下是SVN源码控制部分,其中autoGetSource="true"表示CCNET可以自动从SVN上获取代码

-->

     <sourcecontroltype="svn"autoGetSource="true">

          <!—如果没有默认记住登陆帐号与密码就需要添加帐号密码的输入-->

       <trunkUrl>svn://192.168.3.99/Testes/</trunkUrl>

       <!—SVN上下载的代码存放地址-->

       <workingDirectory>F:\test\source</workingDirectory>

       <timeoutunits="minutes">10</timeout>

     </sourcecontrol>

        <!—

         以下触发事件的设置CCNET60秒检查一次SVN是否有变动,其中buildCondition="IfModificationExists"表示如果SVN有变动存在的情况就进行Build

         -->

     <triggers>

       <intervalTrigger

         seconds="60"

     buildCondition="IfModificationExists"/>

     </triggers>

        <!—

        以下是编译的任务执行设置

        -->

     <tasks>

       <nant>

         <executable>F:\nant-0.86-nightly-2009-05-05\bin\NAnt.exe</executable>

                  <!—指明.build文件的存放的绝对路径-->

         <baseDirectory>F:\test\source\PerMerchant</baseDirectory>

         <targetList>

           <target>run</target>

         </targetList>

         <buildTimeoutSeconds>1800</buildTimeoutSeconds>

       </nant>

</tasks>

<!—

以下是发布设置

-->

<publishers>

       <buildpublisher>

         <sourceDir>F:\test\source\PerMerchant</sourceDir>

         <publishDir>F:\Integration\TEST\Artifacts\deliverables\</publishDir>

         <useLabelSubDirectory>true</useLabelSubDirectory>

       </buildpublisher>

  </publishers>

 </project>

 

</cruisecontrol>


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar