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
https://index.docker.io/v1/
).
String
credentialsId
String
cloud
String
tagsString
String
pushOnSuccess
boolean
pushCredentialsId
String
cleanImages
boolean
cleanupWithJenkinsJobDelete
boolean
noCache
(optional)
--no-cache
which disables caching of layers. See the docker build command for more information.
boolean
pull
(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.
boolean
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.