Skip to content
Permalink
Browse files

Merge pull request #1152 from abayer/jenkins-47106

[JENKINS-47106] Add docs for alwaysDoDockerPull option
  • Loading branch information...
rtyler committed Sep 28, 2017
2 parents 9e529c0 + 8413e6a commit 10a1828a6afd68ac8341969bb7abb21937775b2f
Showing with 3 additions and 1 deletion.
  1. +3 −1 content/doc/book/pipeline/syntax.adoc
@@ -115,7 +115,9 @@ docker:: Execute the Pipeline, or stage, with the given container which will be
dynamically provisioned on a <<../glossary#node, node>> pre-configured to
accept Docker-based Pipelines, or on a node matching the optionally defined
`label` parameter. `docker` also optionally accepts an `args` parameter
which may contain arguments to pass directly to a `docker run` invocation.
which may contain arguments to pass directly to a `docker run` invocation, and
an `alwaysPull` option, which will force a `docker pull` even if the image
name is already present.
For example: `agent { docker 'maven:3-alpine' }` or
+
[source,groovy]

0 comments on commit 10a1828

Please sign in to comment.
You can’t perform that action at this time.