|
This page last changed on Jan 30, 2010 by williams.
Synchronisation Context Task
A sychronisation context across multiple tasks or projects.
Only one task can be in a synchronisation context at any time. This provides a mechanism for locking, either within a project or inbetween projects.
Version
Available from version 1.5
Examples
<sequential>
<tasks>
</tasks>
</sequential>
<sequential continueOnFailure="true" context="thereCanBeOnlyOne" timeout="1200">
<description>Example of how to run multiple tasks in a synchronisation context.</description>
<tasks>
</tasks>
</sequential>
Configuration Elements
| Element |
Description |
Type |
Required |
Default |
Version |
| context |
The name of the synchronisation context. This is only needed if multiple synchronisation contexts are desired. |
String |
No |
DefaultSynchronisationContext |
1.5 |
| continueOnFailure |
Should the tasks continue to run, even if there is a failure? |
Boolean |
No |
false |
1.5 |
| 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 |
| tasks |
The tasks to run within the synchronisation context. These tasks will be run in the order they are defined. |
Task And Publisher Blocks array |
Yes |
n/a |
1.5 |
| timeout |
The timeout period (in seconds). The time-out is only used for attempting to aquire the context. If the task cannot acquire the context within this period, it will time out and throw an error. Once the context has been acquired, there is no time limit on how long it can be held. |
Int32 |
No |
300 |
1.5 |
 | Automatically Generated
Documentation generated on Thursday, 3 Dec 2009 at 8:18:21 AM |
|