• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • docker-workflow-plugin
    • None
    • jenkins 2.121.3

      docker.withRegistry failed to login with a password that starts with '$' character.

       

      steps {
         script {
           docker.withRegistry(env.DOCKER_REGISTRY_URL,     env.DOCKER_REGISTRY_CREDENTIALS_ID) {
              docker.image(env.DOCKER_IMAGE_NAME_WITH_TAG).push()
           }
         }
      }

          [JENKINS-53770] docker.withRegistry failed to login

          Jared Biel added a comment -

          In case anyone runs across this, I've opened a PR (https://github.com/jenkinsci/docker-commons-plugin/pull/86) to solve this issue. The artifact from that PR build can be manually installed in Jenkins until it's merged or fixed in some other way (https://ci.jenkins.io/job/Plugins/job/docker-commons-plugin/job/PR-86/1/artifact/org/jenkins-ci/plugins/docker-commons/1.17-rc347.f3e1aa3e5799/docker-commons-1.17-rc347.f3e1aa3e5799.hpi).

          Jared Biel added a comment - In case anyone runs across this, I've opened a PR ( https://github.com/jenkinsci/docker-commons-plugin/pull/86 ) to solve this issue. The artifact from that PR build can be manually installed in Jenkins until it's merged or fixed in some other way ( https://ci.jenkins.io/job/Plugins/job/docker-commons-plugin/job/PR-86/1/artifact/org/jenkins-ci/plugins/docker-commons/1.17-rc347.f3e1aa3e5799/docker-commons-1.17-rc347.f3e1aa3e5799.hpi ).

            Unassigned Unassigned
            maiviet Phu Nguyen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: