-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: pipeline-model-definition-plugin
-
Labels:None
-
Similar Issues:
It looks like there is no way to specify some build args (--build-arg parameter for docker build) to build an image using the "dockerfile" option. It supports "args", but only to pass to subsequents docker run calls.
pipeline {
agent {
dockerfile {
filename 'foo/Dockerfile'
args: '--privileged'
}
}
}
- links to
PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/136, aiming at 1.2 release.