[JIRA] (JENKINS-53770) docker.withRegistry failed to login

2 views
Skip to first unread message

maiviet.inc@gmail.com (JIRA)

unread,
Sep 25, 2018, 2:37:02 PM9/25/18
to jenkinsc...@googlegroups.com
Phu Nguyen created an issue
 
Jenkins / Bug JENKINS-53770
docker.withRegistry failed to login
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Screen Shot 2018-09-25 at 2.34.28 PM.png
Components: docker-workflow-plugin
Created: 2018-09-25 18:36
Environment: jenkins 2.121.3
Priority: Minor Minor
Reporter: Phu Nguyen

docker.withRegistry failed to login with password 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()
     }
   }
{{ }}}

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

maiviet.inc@gmail.com (JIRA)

unread,
Sep 25, 2018, 3:07:02 PM9/25/18
to jenkinsc...@googlegroups.com
Phu Nguyen updated an issue
Change By: Phu Nguyen
Attachment:
Screen Shot 2018-09-25 at 2.34.28 PM.png

maiviet.inc@gmail.com (JIRA)

unread,
Sep 25, 2018, 3:07:02 PM9/25/18
to jenkinsc...@googlegroups.com
Phu Nguyen updated an issue
Change By: Phu Nguyen
Attachment: Screen Shot 2018-09-25 at 2.54.12 PM.png

maiviet.inc@gmail.com (JIRA)

unread,
Sep 25, 2018, 3:14:03 PM9/25/18
to jenkinsc...@googlegroups.com
Phu Nguyen updated an 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()}}
{{     }}}
{{   }}}
}

maiviet.inc@gmail.com (JIRA)

unread,
Sep 25, 2018, 3:14:03 PM9/25/18
to jenkinsc...@googlegroups.com
Phu Nguyen updated an issue
docker.withRegistry failed to login with password 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()}}
{{     }}}
{{   }}}
{{ } }}

jbiel@bushelpowered.com (JIRA)

unread,
Mar 12, 2020, 4:22:03 PM3/12/20
to jenkinsc...@googlegroups.com
Jared Biel commented on Bug JENKINS-53770
 
Re: docker.withRegistry failed to login

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

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages