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 - setAgentInstallerJobBundle


AgentInstallerJob - setAgentInstallerJobBundle

Description :

This command updates the job found in group name with the bundle found in bundle group. This command returns a handle to the updated Agent Installer Job with the new Agent Bundle setting.

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.

bundleGroup

String

Fully qualified path to the depot group containing the bundle.

bundleName

String

Name of the agent bundle.

Example

The following example replaces the agent bundle specified in an Agent Installer Job.

Script





JOB_NAME=agentInstallerJob

JOB_GROUP=/installjobs

AGENT_BUNDLE_GROUP=/Bundles

AGENT_BUNDLE=AgentBundleTest

JOB_DBKEY=`blcli AgentInstallerJob setAgentInstallerJobBundle $JOB_GROUP $JOB_NAME $AGENT_BUNDLE_GROUP $AGENT_BUNDLE`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*