DeployJob - setDeployJobUndoPreCmdMustPass

DeployJob - setDeployJobUndoPreCmdMustPass

Description :

This command sets the "must have 0 exit status" flag for the Undo Pre-command in a Deploy Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobDBKey

com.bladelogic.om.infra.model.base.keys.SJobKey

Handle to the Deploy Job.

mustPass

Boolean

True to indicate that the Undo Pre-command should have a 0 exit status, false otherwise.

Example

The following example specifies that the Undo Pre-command for the Deploy Job should have a 0 exit status.

Script





JOB_KEY=`blcli DeployJob  [getDBKeyByGroupAndName|DeployJob - getDBKeyByGroupAndName] /deploys deployconfig` 

DeployJob setDeployJobUndoPreCmdMustPass $JOB_KEY true 



Was this page helpful? Yes No Submitting... Thank you

Comments