Hi Chris, In the current version of CruiseControl.NET (i.e. 1.4.4) this is not possible. However for the next release (1.5.0) we are adding parameters to the system which will allow this.
We've started on the documentation at http://confluence.public.thoughtworks.org/display/CCNET/Dynamic+Parameters, but it is still being worked on. Some additional documentation is also available at http://csut017.wordpress.com/2009/05/12/dynamic-build-parameters-some-exampl es/ and http://csut017.wordpress.com/2009/02/10/triggering-builds-with-parameters/ - these posts show how to trigger a build with different parameters. Craig -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chris W Sent: Friday, 10 July 2009 8:18 p.m. To: ccnet-user Subject: [ccnet-user] Conditional Tasks based on Trigger I have a large VB.NET project for which I want continuous debug builds building throughout the day. I then want a release build building overnight whilst the debug builds are switched off. I do not want to use 2 seperate projects since this will force me to use seperate working directories, and given the size of the code this would be a problem. Each build (debug or production) is followed by a task to move the binaries to another directory so they will not overwrite each others dll's. I am using a devenv task to do the builds and was hoping that I could use a different value for <configuration> depending on which trigger had kicked off the process. In other words if the debug continuous trigger kicked the build off then use <configuration>Debug></ configuration>, but if the scheduled release trigger kicked the build off use <configuration>Releaseconfiguration> How can I do this?
