title: jenkins pipeline with docker registry credential error
body: <p>I am getting error while trying to login dtr from my pipeline groovy scrit. it is saying that that was a credential error.</p>
  
  <pre><code>docker.withRegistry('https://dtrlb-oe3ko7eumonjw.eastus.cloudapp.azure.com/','ddcadmin')
  </code></pre>
  
  <p>and my error is:</p>
  
  <p><a href="https://i.stack.imgur.com/cDzw6.png" rel="nofollow noreferrer">enter image description here</a></p>