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.

AgentInstallerJob - setAgentInstallerJobIgnoreRunningJobs

AgentInstallerJob - setAgentInstallerJobIgnoreRunningJobs

Description :

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 :

Variable Name

Variable Type

Description

groupName

String

Fully qualified path to the job group containing the job.

jobName

String

Name of the job.

ignoreRunningJobs

Boolean

Attempt upgrade on server irrespective of whether or not any other job is already running on that server

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 setAgentInstallerJobIgnoreRunningJobs $JOB_GROUP $JOB_NAME true` 



Was this page helpful? Yes No Submitting... Thank you

Comments