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.
dockerFingerprintFrom
: Record trace of a Docker image used in FROMdockerFingerprintRun
: Record trace of a Docker image run in a containerwithDockerContainer
: Run build steps inside a Docker containerwithDockerRegistry
: Sets up Docker registry endpointwithDockerServer
: Sets up Docker server endpointdockerFingerprintFrom
: Record trace of a Docker image used in FROMdockerfile
Dockerfile
which will be parsed for its FROM
instruction.
String
image
--tag
of docker build
.
String
commandLine
(optional)
String
toolName
(optional)
String
dockerFingerprintRun
: Record trace of a Docker image run in a containercontainerId
String
toolName
(optional)
String
withDockerContainer
: Run build steps inside a Docker containerdocker
global variable. Takes an image ID or symbolic name which must already have been pulled locally and starts a container based on that image. Runs all nested sh
steps inside that container. The workspace is mounted read-write into the container.
image
String
args
(optional)
docker run
.
String
toolName
(optional)
String
withDockerRegistry
: Sets up Docker registry endpointdocker
global variable. Sets up connection details for a Docker registry.
registry
url
https://index.docker.io/v1/
).
String
credentialsId
String
toolName
(optional)
String
withDockerServer
: Sets up Docker server endpointdocker
global variable. Sets up connection details for a Docker server.
server
uri
unix:///var/run/docker.sock
or tcp://127.0.0.1:2376
).
String
credentialsId
String
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.