The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
step([$class: 'DockerBuilderControl'])
: Start/Stop Docker Containersoption
$class: 'DockerBuilderControlOptionProvisionAndStart'
cloudName : String
templateId : String
$class: 'DockerBuilderControlOptionRun'
cloudName : String
image : String
pullCredentialsId : String
dnsString : String
network : String
dockerCommand : String
mountsString : String
volumesFrom : String
environmentsString : String
hostname : String
user : String
extraGroupsString : String
memoryLimit : int
memorySwap : int
cpuPeriod : long
cpuQuota : long
cpuShares : int
shmSize : int
bindPorts : String
bindAllPorts : boolean
privileged : boolean
tty : boolean
macAddress : String
$class: 'DockerBuilderControlOptionStart'
cloudName : String
containerId : String
$class: 'DockerBuilderControlOptionStop'
cloudName : String
containerId : String
remove : boolean
$class: 'DockerBuilderControlOptionStopAll'
remove : boolean
step([$class: 'DockerBuilderPublisher'])
: Build / Publish Docker ImagedockerFileDirectory : String
fromRegistry
url : String
https://index.docker.io/v1/
).
credentialsId : String
cloud : String
tagsString : String
pushOnSuccess : boolean
pushCredentialsId : String
cleanImages : boolean
cleanupWithJenkinsJobDelete : boolean
buildArgs
(optional)
A map of build-time variables.
java.util.Map<java.lang.String, java.lang.String>
buildArgsString : String
(optional)
A list of new line separated build-time variables, specified in the form "name=value"
.
noCache : boolean
(optional)
--no-cache
which disables caching of layers. See the docker build command for more information.
pull : boolean
(optional)
--pull
to pull the latest version of the base image, instead of using the local one. See the docker build command for more information.
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.