Parallel Task

Runs a set of child tasks in parallel. Each task will run at the same time as the other tasks.

To run a set of tasks in sequential order within this task, use the Sequential Task.


Available from version 1.5


2  <tasks>
3    <!-- Tasks defined here -->
4  </tasks>

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
1<variable name="name" value="value" />

Environment Variable array No
tasks The tasks to run in parallel. Task And Publisher Blocks array Yes n/a 1.5


The following is an example of how to combine this task together to the Sequential Task to run multiple 'streams' of tasks in parallel:

 2  <tasks>
 3    <sequential>
 4      <description>First parallel stream.</description>
 5      <tasks>
 6        <!-- First sequence of tasks-->
 7      </tasks>
 8    </sequential>
 9    <sequential>
10      <description>First parallel stream.</description>
11      <tasks>
12        <!-- Second sequence of tasks-->
13      </tasks>
14    </sequential>
15  </tasks>

Automatically Generated

Documentation generated on Monday, 26 May 2014 at 7:18:04 AM