AgentInstallerJob - setAgentInstallerJobSkipUpgrade
AgentInstallerJob - setAgentInstallerJobSkipUpgrade
Description :
This option is valid only in case operation type of job is 'UPGRADE/INSTALL_AND_UPGRADE' If this option is set Upgrade will be skipped. This will end up in a Warning 'User Skipped' if any server is in use. Note: Setting this option implies that 'Ignore Running Jobs' will be unset. This command returns a handle to the updated Agent Installer Job with the new skip upgrade option.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupName | String | Fully qualified path to the job group containing the job. |
jobName | String | Name of the job. |
skipUpgrade | Boolean | Skip Upgrade if target server is in user by other job |
Example
The following example disables the Push Agent ACLs option in the Agent Installer Job named agentInstallerJob.
Script
JOB_NAME=agentInstallerJob
JOB_GROUP=/installjobs
JOB_DBKEY=`blcli AgentInstallerJob setAgentInstallerJobSkipUpgrade $JOB_GROUP $JOB_NAME false`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*