jenkins pipeline with docker registry credential error

1.7k views Asked by At

I am getting error while trying to login dtr from my pipeline groovy scrit. it is saying that that was a credential error.

docker.withRegistry('https://dtrlb-oe3ko7eumonjw.eastus.cloudapp.azure.com/','ddcadmin')

and my error is:

enter image description here

1

There are 1 answers

0
Roc King On

The docker.withRegistry can find credential in Global domain, not system domain.