Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40451

Credentials are not being scoped to API endpoints

    XMLWordPrintable

Details

    Description

      The credentials are not using the API endpoint to enabled selection from credential domains.

      This makes it impossible to keep say GitHub Enterprise credentials in a credentials domain scoped to the enterprise server's hostname.

      Also, when there is more than one endpoint defined in the system, the endpoint is hidden in an Advanced box. When there are multiple endpoints the user should be able to select the api endpoint without having to expand the advanced box and find the hidden setting

      Attachments

        Issue Links

          Activity

            stephenconnolly Stephen Connolly created issue -
            stephenconnolly Stephen Connolly made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            stephenconnolly Stephen Connolly made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            stephenconnolly Stephen Connolly made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/org/jenkinsci/plugins/github_branch_source/Connector.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
            src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java
            src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config.jelly
            src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail.jelly
            http://jenkins-ci.org/commit/github-branch-source-plugin/b7788c606b43f29fc91d277de81a67a65abe39d4
            Log:
            [FIXED JENKINS-40451] Respect the API endpoint for credentials domains

            • Also make the API Endpoint visible when there is more that one API endpoint to select from
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/org/jenkinsci/plugins/github_branch_source/Connector.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config.jelly src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail.jelly http://jenkins-ci.org/commit/github-branch-source-plugin/b7788c606b43f29fc91d277de81a67a65abe39d4 Log: [FIXED JENKINS-40451] Respect the API endpoint for credentials domains Also make the API Endpoint visible when there is more that one API endpoint to select from
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-41904 [ JENKINS-41904 ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-1733 (Web Link)" [ 18594 ]

            People

              stephenconnolly Stephen Connolly
              stephenconnolly Stephen Connolly
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: