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

Credentials are not being scoped to API endpoints

      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

          [JENKINS-40451] Credentials are not being scoped to API endpoints

          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/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

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

              Created:
              Updated:
              Resolved: