• 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);

          [JENKINS-69081] use trackall when getting credentials in httpRequest

          Jozsef Kozell added a comment -

          Hi, mikeycarter,

          Is calling the CredentialsProvider.trackAll enough to fix this?

          Jozsef Kozell added a comment - Hi, mikeycarter , Is calling the CredentialsProvider.trackAll enough to fix this?

          Yes it would thanks.

          Michael Carter added a comment - Yes it would thanks.

          Jozsef Kozell added a comment -

          Jozsef Kozell added a comment - https://github.com/jenkinsci/http-request-plugin/pull/113  

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

              Created:
              Updated:
              Resolved: