DeployJob - setDeployJobUndoPostCmdMustPass

DeployJob - setDeployJobUndoPostCmdMustPass

Description :

This command sets the "must have 0 exit status" flag for the Undo Post-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 Post-command should have a 0 exit status, false otherwise.

Example

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

Script





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

DeployJob setDeployJobUndoPostCmdMustPass $JOB_KEY true 



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

Comments