首页 > 代码库 > cruisecontrol配置样例

cruisecontrol配置样例

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