Re: FW: nightly composite build running on modifications instead of at certain time
Adam Bruss <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Yep, going to read them. Here's a link for others. http://www.build-doctor.com/2008/07/25/cruisecontrol-best-practices-publish-with-a-publisher/ From: Julian Simpson [mailto:[email protected]] Sent: Sunday, May 15, 2011 4:12 PM To: Adam Bruss Subject: Re: [Cruisecontrol-user] FW: nightly composite build running on modifications instead of at certain time Happy to help. The bootstrapper/publisher model is very powerful. I've written about them before on my blog. Best, Julian. On 14 May 2011 16:31, Adam Bruss <[email protected]<mailto:[email protected]>> wrote: Thanks much because the svnbootstrapper was the perfect tool for the job. I removed the composite builder after which my time property started working. I think the problem was the composite builder combined with the time property rather than <schedule> combined with requireMods set to true. The lesson learned is that the bootstrappers element can handle all the pre-build updating. There's no reason to try and accomplish it with composite builds or dependent builds. Adam Bruss Senior Development Engineer AWR Corporation/Simulation Technology & Applied Research 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: [email protected]<http://[email protected]> W: http://www.awrcorp.com<http://www.awrcorp.com/> From: Julian Simpson [mailto:[email protected]<mailto:[email protected]>] Sent: Saturday, May 14, 2011 6:52 AM To: [email protected]<mailto:[email protected]> Subject: Re: [Cruisecontrol-user] FW: nightly composite build running on modifications instead of at certain time Hi, On 13 May 2011 19:26, Adam Bruss <[email protected]<mailto:[email protected]>> wrote: ... So I'd like the build to start at 8:00, check for changes and then run the ant target if there are changes. But the build is not waiting till the time property to check. What is wrong? I'm not sure that you'll manage to make the <schedule> play nicely when requireModifications is set to true: "CruiseControl allows the user to schedule an arbitrary number of builds, either on interval or triggered to run at a given date/time, as well as pause intervals during which no builds will be run. Builds will only run if modifications are found, a build is forced from JMX interface, or the <project><http://cruisecontrol.sourceforge.net/main/configxml.html#project> has requireModifications set to false. " BTW, you might find that this element: <ant anthome="${anthome.dir}" buildfile="${antfilesupdater.dir}${antupdaterbuild.file}" target="update" uselogger="true" time="2000" timeout="900"></ant> Fits better as a bootstrapper. Best J. Thanks, Adam Adam Bruss Senior Development Engineer AWR Corporation/Simulation Technology & Applied Research 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: [email protected]<http://[email protected]> W: http://www.awrcorp.com<http://www.awrcorp.com/> ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected]<mailto:[email protected]> (+44) 207 183 0323 ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Julian Simpson The Build Doctor Ltd. http://www.build-doctor.com [email protected]<mailto:[email protected]> (+44) 207 183 0323 ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user