setJobIsolationOptions

See also: Actions

Description

Set isolation type for a job to agent or docker together with specific docker options. Use the docker parameter to specify the docker image and field parameters for volume docker volume mappings. For example, to set docker volumes to their standard default, use '--field hostDirectory_1=${bamboo.working.directory} --field containerDirectory_1=${bamboo.working.directory} --field hostDirectory_2=${bamboo.tmp.directory} --field containerDirectory_2=${bamboo.tmp.directory}'. Additional numbered keys can be used to set more volumes or omit these parameters if no volumes are needed.

Required Parameters

plan, job, type

Optional Parameters

docker, field, field1, value1, field2, value2

Type

Update

Category

Jobs

Output Formats

Replacement Variables

Since Version9.1.1

Examples

Related How To's