Status Mappings
The status-mapping element is used to map from a command exit code to a pulse™ build status. By default, pulse™ maps exit code zero to success and all other codes to failure.
Attributes
| Attribute |
Description |
Required? |
Default |
| code |
The exit code to map. |
Yes |
|
| status |
The status to assign to the given code, one of {error, failure, success}. |
Yes |
|
Child Elements
None.
Examples
<executable name="build" exe="bash" args="buildit.sh">
<status-mapping code="2" status="error"/>
</executable>