Quick question: which trigger block should I use, if I want to set up
a on-demand/maual build (not scheduled), runs only by request. Like
this, put a long time?
<triggers>
<intervalTrigger name="continuous"
seconds="99999999999" />
</triggers>
I tried to use the forceOly attribute, but gives me an error:
Give me an error, maybe doesn't work on CC.NET. Don't worry about it.
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<!-- This is your CruiseControl.NET Server Configuration file.
Add
your projects below! -->
<queue name="Testing" duplicates="ApplyForceBuildsReplace"/>
<project name="SimpleExample" queue="Testing" queuePriority="2"
forceOnly="true">
<workingDirectory>c:\temp\projects\example01</workingDirectory>
<artifactDirectory>c:\temp\projects\example01</artifactDirectory>
<modificationDelaySeconds>10</modificationDelaySeconds>
<triggers> <intervalTrigger seconds="600" name="continuous" /> </
triggers>
<tasks>
<exec>
<executable>c:\temp\projects\example01\test.cmd</
executable>
</exec>
</tasks>
</project>
</cruisecontrol>
[4328:ERROR] Exception: Unused node detected: forceOnly="true"
----------
ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Unused
node detec
ted: forceOnly="true"