sequential

Description

Executes children in a sequence. The sequence will only continue to be executed if each child completes. If a child is not complete, or flags an exception then execution will terminate and this job's state will reflect that of the failed child.

If the failed job is later run manually and completes this Job will reflect the new state. As such it is useful as a trigger point for the completion of a sequence of jobs.

Properties

NameDescriptionRequired
name A name, can be any text. No.

Elements

Any

Required: No, but pointless if missing.

The child jobs.

Example

 <sequential id="trigger-on-me" name="A sequence of two jobs">
   <echo text="This runs first" />
   <echo text="This runs after" />
 </sequential>
 
    


(c) Rob Gordon 2005