Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5