Search code examples
jenkinsjenkins-pluginsjenkins-pipelinejenkins-docker

Jenkins Docker Pipeline Plugin - support of --email option in withDockerRegistry


Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline

[Pipeline] withDockerRegistry
$ docker login -u anonymous -p ******** https://registry:5000
Email: EOF

I'm using an old version of docker that still requres the email option when using docker login. I was using version 1.12 of the Docker Pipeline Plugin and now I'm on the most recent 1.17. I can't find anything in the changelog that discusses the deprecation of this option nor does this appear to be an open source repository.

Just wondering if anyone can update me or if I'm going to be forced to upgrade my docker version?


Solution

  • I ended up just updating my version of docker to 18.06.0-ce I did open an issue against the plugin, https://issues.jenkins-ci.org/browse/JENKINS-52991. But my guess is it's just going to get closed and is just going to be something no longer supported.