DeployJob - setWindowTimoutTolerance
DeployJob - setWindowTimoutTolerance
Description :
This command sets time before window timeout at which Deploy Job should pause. Time is specified in minutes.
Throws exception if 'Pause on window timeout' is set to false. Max value tolerance that can be specified is 30 minutes and minimum is 0 minute. If specified value is less than zero it will be defaulted to zero, similarly if specified value is more than 30 minutes it will be defaulted to 30 minutes. Options set are applicable for Maintenance and Exclusion windows.
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobDBKey | DBKey | Handle to the Deploy Job. |
tolerance | Integer | Tolerance |
Example
The following example specifies that steps to set maintenance window options.
Script
JOB_KEY=`blcli DeployJob getDBKeyByGroupAndName /deploys deployconfig`
DeployJob setWindowTimoutTolerance $JOB_KEY 20
DeployJob setWindowTimoutTolerance $JOB_KEY 20
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*