How do you create properties in CruiseControl.Net

.net, ccnet-config, cruisecontrol.net

Solution

You can do this with cb:define. For example:

<cb:define myProjectName="Foo"/>

Then to use the defined property:

<project name="$(myProjectName)" queue="Bar"> </project>

More information about cb:define can be found here:

http://confluence.public.thoughtworks.org/display/CCNET/Configuration+Preprocessor

Problem

In ant scripts and MS build files you can set properties at the top how do I do this in the CruiseControl file ccnet.config?

Original source