-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins 2.49 on Ubuntu 16.04 on Azure VM.
Docker Commons Plugin - 1.6
Docker Pipeline - 1.10
When building using pipeline definition as follows:
dir('src/MyProject') { script { def img = docker.build "mycompany/myproject:v0.0.${env.BUILD_NUMBER}" docker.withRegistry('https://mycompany.azurecr.io/', 'mycompany.azurecr.io') { img.push() img.push 'latest' } } }
The stage fails despite docker image built correctly.