首页 > 其他 > 详细

cruisecontrol配置样例

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

<?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配置样例

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!