Skip to end of banner
Go to start of banner

setJobIsolationOptions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 65 Next »

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 or build), 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

  • No labels