jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-53770] docker.withRegistry failed to login

Open
#585 1 comment 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

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()

     }

   }

}

---
Originally reported by maiviet, imported from: docker.withRegistry failed to login


  • status: Open
  • priority: Minor
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-07

Raw content of original issue

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()
     }
   }
}

  • environment: jenkins 2.121.3

1 attachment

- [Screen Shot 2018-09-25 at 2.54.12 PM.png](https://issues.jenkins.io/secure/attachment/44597/Screen%20Shot%202018-09-25%20at%202.54.12%20PM.png)
> ![Screen Shot 2018-09-25 at 2.54.12 PM.png](https://issues.jenkins.io/secure/attachment/44597/Screen%20Shot%202018-09-25%20at%202.54.12%20PM.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.