Checks to see if a condition is true before the contained tasks run.
Available from version 1.6
1<conditional> 2 <conditions> 3 <!-- Conditions --> 4 </conditions> 5 <tasks> 6 <!-- Tasks to run if conditions pass --> 7 </tasks> 8 <elseTasks> 9 <!-- Tasks to run if conditions fail --> 10 </elseTasks> 11</conditional>
|continueOnFailure||Should the tasks continue to run, even if there is a failure?||Boolean||No||true||1.9|
|description||Description used for the visualisation of the buildstage, if left empty the process name will be shown.||String||No||The task/publisher name.||16|
|dynamicValues||The dynamic values to use for the task.||Dynamic Values array||No||None||16|
|elseTasks||The tasks to run if conditions evaluates to false.||Task And Publisher Blocks array||No||None||1.6|
|environment|| A set of environment variables set for commands that are executed.
Each variable should be specified as
|Environment Variable array||No|
|conditions|| The conditions to check.
These conditions must all pass in order for the main tasks to run. Use an Or Condition when only one condition is required.
|Task Condition Blocks array||Yes||n/a||1.6|
|tasks||The tasks to run if conditions evaluates to true.||Task And Publisher Blocks array||No||None||1.6|
This task has been kindly supplied by Lasse Sjørup. The original project is available from [[http://ccnetconditional.codeplex.com/]].
Documentation generated on Monday, 26 May 2014 at 7:18:03 AM