Dashboard > Pulse v1.2 > ... > executable > status-mapping
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  status-mapping
Added by Jason Sankey, last edited by Jason Sankey on Nov 21, 2007
Labels: 
(None)

Pulse Manual Index

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>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators