I came back from the weekend to find out that someone **** ahm missed the last message on the last day on Friday ... Cruise control had fun and he tried to rebuild every five minutes since then, despite further commits .
This means that my colleagues and I received about six hojillion letters from cruise control. A single error message would be more than enough to notify us.
Is there any way to stop the creation of cruise control in the event of a failure, at least until a new commit occurs?
Edit : added config xml
<project name="XXXX">
<listeners>
<currentbuildstatuslistener file="logs/${project.name}/status.txt" />
</listeners>
<bootstrappers>
<svnbootstrapper file="https://XXXXX/trunk/build/cruisecontrol.xml" username="XXXX" password="XXXX" />
</bootstrappers>
<modificationset quietperiod="300">
<svn localWorkingCopy="projects/${project.name}/" RepositoryLocation="https://XXXXX/trunk/project1" username="XXXX" password="XXXX" />
<svn localWorkingCopy="projects/${project.name}/" RepositoryLocation="https://XXXXX/trunk/project2" username="XXXX" password="XXXX" />
<svn localWorkingCopy="projects/${project.name}/" RepositoryLocation="https://XXXXX/trunk/project3" username="XXXX" password="XXXX" />
<svn localWorkingCopy="projects/${project.name}/" RepositoryLocation="https://XXXXX/trunk/project4" username="XXXX" password="XXXX" />
</modificationset>
<schedule interval="300">
<ant anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build/cruisecontrol.xml" propertyfile="projects/${project.name}/project1/production.build.properties" />
</schedule>
<log dir="logs/${project.name}/">
<merge file="projects/${project.name}/_reports/checkstyle_report.xml" />
<merge dir="projects/${project.name}/_reports/pmd_report.xml" />
<merge dir="projects/${project.name}/_reports/junit" />
</log>
<publishers>
<onsuccess>
<artifactspublisher dest="artifacts/${project.name}" dir="projects/${project.name}/_dist" />
<artifactspublisher dest="artifacts/${project.name}" dir="projects/${project.name}/_reports" subdirectory="_reports"/>
</onsuccess>
<email spamWhileBroken="true" returnAddress="XXX@EXAMPLE.com" subjectPrefix="[BUILD]" buildResultsURL="http://XXXXX/dashboard/build/detail/project" mailHost="mail.EXAMPLE.com" skipUsers="true" >
<failure address="XXX@EXAMPLE.com" />
<success address="XXX@EXAMPLE.com"/>
</email>
</publishers>
source
share