addAgentAssignment

See also: Actions

Description

Assign a project, plan, job, deployment project, or environment to a specific agent. This makes the agent dedicated to only perform builds for all assignments. If deployment or environment names are used instead of keys, type must be provided to indicate assignment represents a DEPLOYMENT_PROJECT or ENVIRONMENT. Use continue to ignore already exists error. Use autoAgent to automatically create a local agent if it does not already exist.

Required Parameters

agent, assignment

Optional Parameters

type, autoAgent, options, continue

Type

Create

Category

Agents

Output Formats

Replacement Variables

Since Version

Examples

addAgentAssignment

Related How To's