• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CruiseControl Help

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've got two issues with CruiseControl right now.

Issue 1: CruiseControl is sending an extra build results email to 'User'.

Issue 2: My nightly build (which is a time-based build using Ant and has no schedule interval) is running twice. I'm thinking this may be because it runs in under a minute, but that seems pretty fishy to me.

Anybody seen either of these? Thanks for your help!

<cruisecontrol>
<project name="WS-Java-CvsTest" buildafterfailed="true">
<listeners>
<currentbuildstatuslistener file="logs/WS-Java-CvsTest/nightly-buildstatus.txt"/>
</listeners>

<modificationset requiremodification="false">
<alwaysbuild/>
</modificationset>

<schedule>
<ant antscript="ant" buildfile="BuildCCMaster.xml"
target="build-cvsTest" uselogger="true"
usedebug="false"
time="2100" >
<property name="wrapped-target" value="all"/>
<property name="backitup" value="yes"/>
</ant>
</schedule>

<log dir="logs/WS-Java-CvsTest">
<merge file="checkout/ws/java/cvsTest/docs/pmd_report.xml"/>
<merge dir="checkout/ws/java/cvsTest/docs/junitxml"/>
</log>

<publishers>
<currentbuildstatuspublisher file="logs/WS-Java-CvsTest/nightly-buildstatus.txt"/>
<htmlemail mailhost="xxxxx.xxx.xxx"
buildresultsurl="xxxxxxxxxxx"
returnaddress="xxxxx@xxxx.xxx.xxx"
css="/usr/local/cruisecontrol/reporting/jsp/webcontent/css/cruisecontrol.css"
xsldir="/usr/local/cruisecontrol/reporting/jsp/webcontent/xsl"
xslfilelist="header.xsl,maven.xsl,nant.xsl,checkstyle.xsl,errors.xsl,compile.xsl,javadoc.xsl,unittests.xsl,modifications.xsl,$
logdir="logs/WS-Java-CvsTest"
subjectprefix="NightlyBuild-CvsTest: ">
<always address="xxxxx@xxxx.xxx.xxx"/>

</htmlemail>
</publishers>
</project>
</cruisecontrol>
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by B. Coles:
Issue 1: CruiseControl is sending an extra build results email to 'User'.



That's the CVS user name used for checkin, right? Add

skipusers="true"

to the email publisher.


Issue 2: My nightly build (which is a time-based build using Ant and has no schedule interval) is running twice. I'm thinking this may be because it runs in under a minute, but that seems pretty fishy to me.



That would be my guess, too. You should probably report a bug to the CC mailing list.

Why are you using an alwaysbuild modificationset?
 
B. Coles
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ilja,

Thanks for the reply...Just found out that 'User' is the default value of the username that CruiseControl associates with an <alwaysbuild/> by default. I've added a username attribute to the <alwaysbuild/> which should hopefully take care of that problem.

As far as it running twice, it only ran once last night after I increased the quietperiod...Don't know if this solves the problem, or is just a hack, but I guess I'll find out over the course of the next week as more builds are kicked off...

Thanks again for all your help!
-Brian
[ May 03, 2005: Message edited by: B. Coles ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic