Interface DockerPipelineConfiguration
- All Superinterfaces:
ConvertibleFromConfig
,OptionallyConvertibleFromConfig
- All Known Implementing Classes:
DockerPipelineConfigurationImpl
Configuration of Docker pipeline for a single buildable entity (e.g. a job or an environment).
-
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments for docker command.@NotNull List<DataVolume>
List of data volume mapping between host and container.@Nullable String
getImage()
Docker image to be used for the Docker pipeline.boolean
Whether the Docker pipeline is enabled.void
setAdditionalArgs
(@NotNull Iterable<String> additionalArgs) void
setDataVolumes
(@NotNull Iterable<DataVolume> dataVolumes) void
setEnabled
(boolean enabled) void
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
Methods inherited from interface com.atlassian.bamboo.fieldvalue.OptionallyConvertibleFromConfig
isValid
-
Method Details
-
isEnabled
boolean isEnabled()Whether the Docker pipeline is enabled. -
setEnabled
void setEnabled(boolean enabled) -
getImage
Docker image to be used for the Docker pipeline. The value can be any valid image identifier accepted by Docker, in particular it can consist of registry information, namespace, image name and tag name.Example:
localhost:5000/atlassian/docker-image:version-5
-
setImage
-
getDataVolumes
List of data volume mapping between host and container. -
setDataVolumes
-
getAdditionalArgs
Additional arguments for docker command.- Since:
- 7.1
-
setAdditionalArgs
-