I have multiple projects for which I want to use cruisecontrol to do
builds. What is the best way to configure this.?
I have c:\cvssource
Checkout/project1
Checkout/project2
Log/project1
Log/project2
Artifact/project1
Artifact/project2
<cruisecontrol>
<project name="MY_PROJECT_1" buildafterfailed="true">
<!-- Bootstrappers are run every time the build runs,
*before* the modification checks
<bootstrappers>
<currentbuildstatusbootstrapper
file="logs/project1/buildstatus.txt"/>
</bootstrappers>
-->
<!-- Defines where cruise looks for changes, to decide whether to
run the build -->
<modificationset quietperiod="10">
<cvs localworkingcopy="checkout/project1/jinxweb"/>
</modificationset>
<!-- Configures the actual build loop, how often and which build
file/target -->
<schedule interval="60">
<ant antscript="C:\apache-ant-1.6.2\bin\ant.bat"
buildfile="cc-build.xml"
target="build"
uselogger="true"
usedebug="true"/>
</schedule>
<!-- directory to write build logs to -->
<log dir="logs/project1"/>
<!-- more recent versions of CC should use the listener below,
instead of the
currentbuildstatusbootstrapper, currentbuildstatuspublisher
combination.
NOTE: Must match filename in CC reporting/jsp -
override.properties: user.build.status.file -->
<listeners>
<currentbuildstatuslistener
file="logs/project1/buildstatus1.txt"/>
</listeners>
<!-- Publishers are run *after* a build completes -->
<publishers>
<email mailhost="NYCMAILMB01"
returnaddress="[EMAIL PROTECTED]"
buildresultsurl="http://localhost:8080/cruisecontrol/buildresults/projec
t1"
skipusers="false" spamwhilebroken="true">
<always address="[EMAIL PROTECTED]"/>
<failure address="[EMAIL PROTECTED]"/>
</email>
</publishers>
</project>
<project name="MY_PROJECT_2" buildafterfailed="true">
<!-- Bootstrappers are run every time the build runs,
*before* the modification checks
<bootstrappers>
<currentbuildstatusbootstrapper
file="logs/project2/buildstatus.txt"/>
</bootstrappers>
-->
<!-- Defines where cruise looks for changes, to decide whether to
run the build -->
<modificationset quietperiod="10">
<cvs localworkingcopy="checkout/project2/bosprint"/>
</modificationset>
<!-- Configures the actual build loop, how often and which build
file/target -->
<schedule interval="60">
<ant antscript="C:\apache-ant-1.6.2\bin\ant.bat"
buildfile="cc-build1.xml"
target="buildbosprint"
uselogger="true"
usedebug="true"/>
</schedule>
<!-- directory to write build logs to -->
<log dir="logs/project2"/>
<!-- more recent versions of CC should use the listener below,
instead of the
currentbuildstatusbootstrapper, currentbuildstatuspublisher
combination.
NOTE: Must match filename in CC reporting/jsp -
override.properties: user.build.status.file -->
<listeners>
<currentbuildstatuslistener
file="logs/project2/buildproject2.txt"/>
</listeners>
<!-- Publishers are run *after* a build completes -->
<publishers>
<email mailhost="NYCMAILMB01"
returnaddress="[EMAIL PROTECTED]"
buildresultsurl="http://localhost:8080/cruisecontrol/buildresults/projec
t2"
skipusers="false" spamwhilebroken="true">
<always address="[EMAIL PROTECTED]"/>
<failure address="[EMAIL PROTECTED]"/>
</email>
</publishers>
</project>
</cruisecontrol>
-----Original Message-----
From: Joe Schmetzer [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 12:23 PM
To: Ant Users List
Cc: [email protected]; [EMAIL PROTECTED]
Subject: RE: Regarding Continous build integration.
On Fri, 17 February, 2006 4:49 pm, [EMAIL PROTECTED]
wrote:
> Can you brief through the basic steps ? I am new to using JMX.
> Have a nice weekend .
I think you will need to read through the documentation at
http://cruisecontrol.sourceforge.net/ and the CC wiki. If you have
futher
problems, you can try the CC mailing list at
http://cruisecontrol.sourceforge.net/contact.html, as this obviously not
an ant related question.
Cheers,
--
Joe Schmetzer .:. Renaissance Developer .:. http://www.exubero.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]