Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1152 from abayer/jenkins-47106
[JENKINS-47106] Add docs for alwaysDoDockerPull option
  • Loading branch information
R. Tyler Croy committed Sep 28, 2017
2 parents 9e529c0 + 8413e6a commit 10a1828
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/doc/book/pipeline/syntax.adoc
Expand Up @@ -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]
Expand Down

0 comments on commit 10a1828

Please sign in to comment.