Re: config file error: cruisecontrol failed to load file config.xml
CM Analyst <[email protected]> Thu, 22 Mar 2012 12:41:34 -0700 (PDT)
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Glenn and Marino, Thank you for nailing that one. I fixed it and am now getting: 'returnaddress' is required for LinkEmailPublisher. The return adress value I've specified is my work email address (which should be valid, of course). I also tried something generic like "BuildMaster" but neither has worked. ----- Original Message ----- From: Glenn Boysko <[email protected]> To: CM Analyst <[email protected]>; "[email protected]" <[email protected]> Cc: Sent: Thursday, March 22, 2012 1:37 PM Subject: RE: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml Seems like you are missing a closing '>' character in the 'email' element. -----Original Message----- From: CM Analyst [mailto:[email protected]] Sent: Thursday, March 22, 2012 2:28 PM To: [email protected] Subject: [Cruisecontrol-user] config file error: cruisecontrol failed to load file config.xml Hello, I am new to Cruise Control. Given the config.xml file below, I can't get the email notification to work. If I remove the <publisher> section, I can get the build to work. With the <publisher> section added to the file, I get the error message: cruisecontrol failed to load file config.xml I am running v2.8.4. Any advice is much appreciated. <cruisecontrol> <project name="MYPROJ"> <listeners> <currentbuildstatuslistener file="logs/${project.name}/buildstatus.txt"/> </listeners> <bootstrappers> <clearcasebootstrapper file="build.xml" viewPath="c:\view3\MYPROJ"/> <antbootstrapper anthome="apache-ant-1.7.0" buildfile="c:\view3\MYPROJ\build.xml" target="clean" /> </bootstrappers> <modificationset quietperiod="30"> <!-- touch any file in the project to trigger a build --> <filesystem folder="c:\view3\MYPROJ"/> </modificationset> <schedule interval="300"> <ant anthome="apache-ant-1.7.0" buildfile="c:\view3\MYPROJ\build.xml"/> </schedule> <log> <merge dir="projects/${project.name}/target/test-results"/> </log> <publishers> <email mailhost="MySMTPHost.com" returnaddress="[email protected]" subjectprefix="[Cruise Control]: Build Results..." <always address="[email protected]"/> <failure address="[email protected]"/> </email> </publishers> </project> </cruisecontrol> ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure