码迷,mamicode.com
首页 > 其他好文 > 详细

cruisecontrol配置样例

时间:2014-11-16 02:04:18      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:project

<?xml version="1.0"?> 

<cruisecontrol>  

 <project name="SampleCCProject">   

  <bootstrappers>     

  <currentbuildstatusbootstrapper file="../logs/currentbuild.txt" />      

 <svnbootstrapper file="build-cc.xml"  localWorkingCopy="../../../WorkArea/SampleCCProject" />     

</bootstrappers>


 <modificationset quietperiod="60" >     

  <svn LocalWorkingCopy="../../../WorkArea/SampleCCProject"/>    

 </modificationset>


 <schedule interval="60" >   

    <ant antWorkingDir="../../../WorkArea/SampleCCProject"  buildfile="build-cc.xml" />  

</schedule>


 <log dir="../logs/SampleCCProject">     

  <merge dir="../../../WorkArea/SampleCCProject/reports/junit/data"/> 

 </log> 

 <publishers>    

   <currentbuildstatuspublisher   file="../logs/currentbuild.txt" />   

    <artifactspublisher dir="../../../WorkArea/SampleCCProject/dist"  dest="../logs/SampleCCProject" />

       <email mailhost="smtp.yourdomain.com"         returnaddress="buildmaster@yourdomain.com"  

       skipusers="true"         reportsuccess="fixes"         subjectprefix="[CruiseControl]"   

      buildresultsurl="http://buildserver:8080/cruisecontrol/buildresults">      

   <failure address="developers@yourdomain.com" />     

    <success address="developers@yourdomain.com" />    

   </email>    

 </publishers> 

  </project> 

</cruisecontrol> 


cruisecontrol配置样例

标签:project

原文地址:http://jyb2014.blog.51cto.com/9155315/1576744

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!