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

Allow configuring the plugin to use Jenkins domain credentials

      It only works with global credentials.
      We need to configure the plugin to use domain credentials.

          [JENKINS-60341] Allow configuring the plugin to use Jenkins domain credentials

          Does this request specifically mean matching the Bitbucket Server REST API URL to the specification of the credential domain? For example, a Jenkins administrator could define a credential domain for hostname "bitbucket1.example.com" and another for hostname "bitbucket2.example.com", and add a Bitbucket personal access token credential in each credential domain; then if the repository is within https://bitbucket2.example.com:7990/, the plugin should get the credential from the corresponding credential domain.

          That's what I'd expect it to mean, but the link to JENKINS-63009 makes me unsure.

          Kalle Niemitalo added a comment - Does this request specifically mean matching the Bitbucket Server REST API URL to the specification of the credential domain? For example, a Jenkins administrator could define a credential domain for hostname "bitbucket1.example.com" and another for hostname "bitbucket2.example.com", and add a Bitbucket personal access token credential in each credential domain; then if the repository is within https://bitbucket2.example.com:7990/ , the plugin should get the credential from the corresponding credential domain. That's what I'd expect it to mean, but the link to JENKINS-63009 makes me unsure.

          Martin Henschke added a comment - - edited

          Hi Javier, thanks for your report.
          Can you please add the following things to your request:

          • Your usecase
          • The functionality that you'd like to see
            Specifically, can you clarify the credentials you would like to see using domain? I did a quick test and I'm noticing for Job credentials, that credential domains at the System level are being picked up, but all Folder credentials, both global and domain are not.

          Martin Henschke added a comment - - edited Hi Javier, thanks for your report. Can you please add the following things to your request: Your usecase The functionality that you'd like to see Specifically, can you clarify the credentials you would like to see using domain? I did a quick test and I'm noticing for Job credentials, that credential domains at the System level are being picked up, but all Folder credentials, both global and domain are not.

            Unassigned Unassigned
            javier_rodriguez Javier Rodríguez
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: