DeployJob - setPauseOnWindowTimeout
DeployJob - setPauseOnWindowTimeout
Description :
This command sets the 'Pause on window timeout' option for a Deploy Job.
If set to 'true', the Deploy Job job will gracefully pause upon completion of 'Maintenance Window' or upon start of 'Exclusion Window'. This option will throw error if Flow control is set to 'By Phase' or 'Reset job on failure' option is set to true. Options set are applicable for Maintenance and Exclusion windows.
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
jobDBKey | DBKey | Handle to the Deploy Job. |
pauseOnTimeout | boolean | Pause on window timeout. |
Example
The following example specifies the steps to set this option.
Script
JOB_KEY=`blcli DeployJob getDBKeyByGroupAndName /deploys deployconfig`
DeployJob setPauseOnWindowTimeout $JOB_KEY "true"
Was this page helpful? Yes No
Submitting...
Thank you
Comments