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

use trackall when getting credentials in httpRequest

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • http-request-plugin
    • None

      Trying to track which credentials are being used in which jobs... but httpRequest and other plugins don't track usage with CrednetialsProvider.trackAll()

      Could you either use : 

      StandardCredentials credential = CredentialsProvider.findCredentialById(id, StandardCredentials.class, run, Collections.emptyList());

      or 

      CredentialsProvider.trackAll(run, cred);

            kozell Jozsef Kozell
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: