[JIRA] (JENKINS-49950) Specifying Docker registry credentials should not silently fail if using default URL

2 views
Skip to first unread message

chris@orr.me.uk (JIRA)

unread,
Mar 6, 2018, 8:12:02 AM3/6/18
to jenkinsc...@googlegroups.com
Christopher Orr created an issue
 
Jenkins / Bug JENKINS-49950
Specifying Docker registry credentials should not silently fail if using default URL
Issue Type: Bug Bug
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2018-03-06 13:11
Priority: Minor Minor
Reporter: Christopher Orr

In a folder, under Pipeline Model Definition, you can enter the details for accessing a Docker registry.

Since I'm using private repositories on Docker Hub, I don't need to change the default Docker Registry URL (the help text says it "May be left blank to use the public DockerHub registry") — I should only need to set the correct Registry Credentials.

However, if you only set the Registry Credentials, they are not used during a build — the "https://index.docker.io/v1/" URL has to be explicitly entered in order to apply the credentials using a build.

It looks like this is where the logic is:

https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/472688704e/pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/AbstractDockerPipelineScript.groovy#L61-L68

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

andrew.bayer@gmail.com (JIRA)

unread,
Dec 6, 2018, 10:22:03 AM12/6/18
to jenkinsc...@googlegroups.com
Andrew Bayer updated an issue
Change By: Andrew Bayer
Sprint: Declarative backlog
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jtaboada@cloudbees.com (JIRA)

unread,
Dec 14, 2018, 3:39:01 AM12/14/18
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Dec 17, 2018, 2:44:02 AM12/17/18
to jenkinsc...@googlegroups.com
Status: Open In Progress

jtaboada@cloudbees.com (JIRA)

unread,
Dec 19, 2018, 4:15:04 AM12/19/18
to jenkinsc...@googlegroups.com

jtaboada@cloudbees.com (JIRA)

unread,
Dec 19, 2018, 4:15:04 AM12/19/18
to jenkinsc...@googlegroups.com

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:25:51 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Fixed
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages