-
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