| Name | Description | Required |
|---|---|---|
| name | A name, can be any text. | No. |
Required: Yes.
The child job, on who's completion state the execution of the branches is decided.
Required: No.
Executed if the state of the child job is complete.
Required: No.
Executed if the state of the child job is not complete.
Required: No.
Executed if the state of the child job is exception.
<if name="If A File Exists">
<child>
<exists file="some.txt"/>
</child>
<then>
<echo text="File Exists"/>
</then>
<else>
<echo text="File Doesn't Exist"/>
</else>
<exception>
<echo text="Big Problem"/>
</exception>
</if>