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

Git plugin credential lookup uses too low level API

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      In GitSCMFileSystem.build(), this bypasses several features provided natively by the credentials plugin including user-scoped credentials, authorize project scoped credentials, other sources, and the credential parameter shadowing feature. This should instead use CredentialsProvider.findCredentialsById() with the listed domain requirements and the associated run.

          [JENKINS-61824] Git plugin credential lookup uses too low level API

          Matt Sicker created issue -
          Matt Sicker made changes -
          Description Original: In {{UserRemoteConfig.DescriptorImpl.lookupCredentials()}}, this bypasses several features provided natively by the credentials plugin including user-scoped credentials, authorize project scoped credentials, other sources, and the credential parameter shadowing feature. This should instead use {{CredentialsProvider.findCredentialsById()}} with the listed domain requirements and the associated run. New: In {{GitSCMFileSystem.build()}}, this bypasses several features provided natively by the credentials plugin including user-scoped credentials, authorize project scoped credentials, other sources, and the credential parameter shadowing feature. This should instead use {{CredentialsProvider.findCredentialsById()}} with the listed domain requirements and the associated run.
          Matt Sicker made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]

            Unassigned Unassigned
            jvz Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: