Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #751 from abayer/jenkins-42693
[JENKINS-42693] Add 'additionalBuildArgs' dockerfile option
  • Loading branch information
bitwiseman committed Jun 19, 2017
2 parents 5f52f01 + 3c7f637 commit e21249d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/doc/book/pipeline/syntax.adoc
Expand Up @@ -274,7 +274,9 @@ dockerfile:: Execute the Pipeline, or stage, with a container built from a
`Dockerfile` contained in the source repository. Conventionally this is the
`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' } }`.
option: `agent { dockerfile { dir 'someSubDir' } }`. You can pass additional
arguments to the `docker build ...` command with the `additionalBuildArgs`
option, like `agent { dockerfile { additionalBuildArgs '--build-arg foo=bar' } }`.

===== Common Options

Expand Down

0 comments on commit e21249d

Please sign in to comment.