-
Bug
-
Resolution: Unresolved
-
Critical
-
Jenkins version - 2.32.3
CloudBees Docker Build and Publish plugin version- 1.3.2
Operating System - Ubuntu 14.04
Java - 1.8
Docker - 1.13.0
In the Build step of Docker build and publish, there is an option to provide Additional build arguments but when I give
--build-arg https_proxy="http://some.proxy:port"
It shows following error
[Docker_test] $ docker build --build-arg https_proxy=http://some.proxy:port -t image/ob:latest --pull=true /var/lib/jenkins/workspace/Docker_test
flag provided but not defined: --build-arg
See 'docker build --help'.
Build step 'Docker Build and Publish' marked build as failure
Finished: FAILURE
But when executed in shell command, the above mentioned command works fine
[JENKINS-42603] Additional Build arguments not working in Cloudbees Docker build and publish plugin 1.3.2
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Priority | Original: Major [ 3 ] | New: Critical [ 2 ] |
Environment |
Original:
Jenkins version - 2.32.3 CloudBees Docker Build and Publish plugin version- 1.3.2 Operating System - Ubuntu 14.04 Java - 1.8 |
New:
Jenkins version - 2.32.3 CloudBees Docker Build and Publish plugin version- 1.3.2 Operating System - Ubuntu 14.04 Java - 1.8 Docker - 1.13.0 |
have an old version of docker in the agent where this is run ?