Skip to content
Permalink
Browse files

[JENKINS-41668] Add "dir" option for Dockerfile declarative agent

Depends on
jenkinsci/pipeline-model-definition-plugin#107
being merged and released.
  • Loading branch information
abayer committed Feb 6, 2017
1 parent 81350b2 commit b13440af19a0a9ef115bb3316b361c3a6b9512fc
Showing with 3 additions and 1 deletion.
  1. +3 −1 content/doc/book/pipeline/syntax.adoc
@@ -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" } }`.
////

0 comments on commit b13440a

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