CruiseControl.NET allows you to trigger a build base on another build’s successful completion. This is useful in that it allows builds with dependencies to be fully automated. When one is built successfully, another or more will be triggered. Here is an example code snippet:
Within the <triggers> block, you can add an additional trigger similar to this:
<projecttrigger serveruri= “tcp://buildserver01:21234/CruiseManager.rem” project=”Example Build 1.1″> <triggerstatus>Success</triggerstatus> <innertrigger type=”intervalTrigger” seconds=”30″ buildcondition=”ForceBuild”> </innertrigger> </projecttrigger>
You can also have multiple triggers, one other trigger in this block might be the “modification set” trigger where it monitors the source control repository for changes to kickoff builds.
No comments in this article
There are no comments yet.