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

Inferring credentials resolves wrong credential

    Details

    • Similar Issues:

      Description

      The inference for the github credentials uses getCredentials which return checkout credentials.

      Checkout credentials can be SSH credentials, unsuitable for API calls such as commit status updates.

      When checkout credentials are SSH credentials, inference fails with: java.lang.IllegalArgumentException: The credentialsId does not seem to exist, please check it

      Instead, the plugin should probably use getScanCredentialsId to obtain its credentials.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rarabaolaza Raul Arabaolaza
                Reporter:
                chrono Martin Ringehahn
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: