Re: Use of <buildstatus> within Cruise Control
Chris Beech <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
David, Why don't you just set a flag somewhere at the end of project A's build to indicate it completed successfully? When project B runs it looks for the flag and only executes if it's found, otherwise it exits without doing anything. Chris Sent from my iPhone On 2011-07-13, at 7:23, "David Peter Bradly" <[email protected]<mailto:[email protected]>> wrote: I am struggling to understand the basic concept of getting one project to fire off after the successful completion of another. I am firing off a project on a daily basis using <schedule> <composite time=”0101> … What I want is for a second project to start if and only if this project completes successfully. I have tried <modificationset> <buildstatus logdir="logs/Project A"/> </modificationset> <schedule interval="3600"> <exec …"/> </schedule> But this fires off once an hour and it looks as if I remove the interval=3600, it will fire off with the default interval of 5 minutes! And it seems to fire off if Project A has failed as well. I have read the Wiki page on Dependent Builds, but this does not really help. I have also seen some posts about <log> but cannot see what extra I have to do. All I want is for Project B to fire off when and only when Project A has completed successfully (on a daily basis). How do I do this? David Bradly ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Cruisecontrol-user mailing list [email protected]<mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user