|
This page last changed on Nov 30, 2010 by ccnet-doc-gen.
Null Task
The Null Task is a task that doesn't do anything - it simply returns successfully. This is useful for projects that simply monitor the source control system for changes but don't need to do anything.
Version
Available from version 1.0
Examples
<nullTask simulateFailure="true" />
Configuration Elements
| Element |
Description |
Type |
Required |
Default |
Version |
| description |
Description used for the visualisation of the buildstage, if left empty the process name will be shown. |
String |
No |
The task/publisher name. |
1.5 |
| dynamicValues |
The dynamic values to use for the task. |
Dynamic Values array |
No |
None |
1.5 |
| environment |
A set of environment variables set for commands that are executed. Each variable should be specified as
<variable name="name" value="value" />
. |
Environment Variable array |
No |
|
|
| simulateFailure |
Defines whether to fail the task or not. This can be useful in testing scenarios - but is probably most useful for people developing for CruiseControl.NET. |
Boolean |
No |
false |
1.3 |
| simulateFailureMessage |
The message for the exception. Makes it easier to spot differences between different errors. |
String |
No |
|
1.5 |
 | Automatically Generated
Documentation generated on Tuesday, 30 Nov 2010 at 10:25:52 AM
Using assembly version 1.6.7805.1 |
|