Created
June 3, 2014 16:16
-
-
Save anonymous/4f30f8cdf2141128b79b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cruisecontrol> | |
<project name="myproject"> | |
<!-- check for svn changes --> | |
<modificationset quietperiod="0"> | |
<svn localworkingcopy="/home/builduser/checkouts/myproject/" username="u" password="p"/> | |
</modificationset> | |
<!-- builders to handle noticed changes --> | |
<schedule interval="60"> | |
<exec time="0600" | |
workingdir="/home/builduser/checkouts/myproject/" | |
command="./buildproject.sh" args="--cleanbuild --package --test" /> | |
<exec time="1800" | |
workingdir="/home/builduser/checkouts/myproject/" | |
command="./buildproject.sh" args="--cleanbuild --package --test" /> | |
</schedule> | |
<!-- handle builds that work --> | |
<publishers> | |
<onsuccess> | |
<!-- copy to archive --> | |
<artifactspublisher dest="/home/builduser/artifacts/myproject" | |
dir="/home/builduser/checkouts/myproject/build_output" /> | |
<!-- push build to demo machine for internal users to play with --> | |
<execute command="/home/builduser/checkouts/myproject/deploy_to_demobox.sh" /> | |
</onsuccess> | |
</publishers> | |
<!-- configure log and artifact delete rules --> | |
<log dir="/home/builduser/logs/myproject"> | |
<delete every="30" unit="DAY" /> | |
<deleteartifacts every="30" unit="DAY" /> | |
</log> | |
</project> | |
</cruisecontrol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment