AgentInstallerJob - setAgentInstallerJobIgnoreRunningJobs
This option is valid only in case operation type of job is 'UPGRADE/INSTALL_AND_UPGRADE' The meaning of value set is as follows: Setting this option means upgrade job will ignore the already running jobs and attempt an agent upgrade on that server. This may or may not end up in failure of already running job. Note: Setting this option implies that skipUpgrade option will be unset. This command returns a handle to the updated Agent Installer Job with the new value for Ignore Running Jobs option.
Return type : DBKey
Command Input :
Fully qualified path to the job group containing the job.
Name of the job.
Attempt upgrade on server irrespective of whether or not any other job is already running on that server
The following example disables the Push Agent ACLs option in the Agent Installer Job named agentInstallerJob.
JOB_NAME=agentInstallerJob JOB_GROUP=/installjobs JOB_DBKEY=`blcli AgentInstallerJob setAgentInstallerJobIgnoreRunningJobs $JOB_GROUP $JOB_NAME true`