Skip to content

Commit

Permalink
[JENKINS-41668] Add "dir" option for Dockerfile declarative agent
Browse files Browse the repository at this point in the history
Depends on
jenkinsci/pipeline-model-definition-plugin#107
being merged and released.
  • Loading branch information
abayer committed Feb 6, 2017
1 parent 81350b2 commit b13440a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/doc/book/pipeline/syntax.adoc
Expand Up @@ -267,7 +267,9 @@ XXX: https://issues.jenkins-ci.org/browse/JENKINS-41607
dockerfile:: Execute the Pipeline, or stage, with a container built from a
`Dockerfile` contained in the source repository. Conventionally this can be the
`Dockerfile` in the root of the source repository: `agent { dockerfile true }`
`Dockerfile` in the root of the source repository: `agent { dockerfile
true }`. If building a Dockerfile in another directory, use the `dir`
option: `agent { dockerfile { dir "someSubDir" } }`.
////

Expand Down

0 comments on commit b13440a

Please sign in to comment.