Passing Parameters to a NAnt Script From Cruise Control (CC.NET) November, 2007
Passing parameters to a NAnt script from CruiseControl.NET is pretty simple. Basically you pass name/value pairs with the -D command line argument in the buildArgs element. Values with spaces need to be wrapped with double quotes. The following CC.NET configuration file illustrates this:
...
...
The target NAnt script need only reference the properties as follows: