Staged builds with CC.Net
I finally got around to setting up a staged with with CC, it was easier than I expected. The "Stage 1" build is a compile only, and then if that one succeeds it fires off the "Stage 2" build which is a compile + unit tests.
So to do the staged build all you have to do is add a project trigger to the dependent project.
So the ccnet.config looks like this:
<project name="App Stage 1">
...all the normal stuff ...
</project>
<project name="App Stage2">
<triggers>
<projectTrigger project="App Stage 1" />
</triggers>
.. all the normal stuff...
</project>
Labels: Continuous Integration

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home