How do I run a command every time Cruise Control.NET (ccnet) automatically checks the source?
1 answer
There ccnet.config
is an element <tasks>
in your project configuration (internally ) where you can define various actions to be taken each time the integration is started. In your case, you'll create a trigger that looks something like this:
<triggers>
<intervalTrigger name="continuous"
seconds="60"
buildCondition="IfModificationExists" />
</triggers>
There are several types of tasks included in CruiseControl.NET. The documentation includes a complete list that explains how they should be used and what options are available.
+1
a source to share