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

AsyncAperiodicWork to be able to call CredentialsProvider.findCredentialById

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • credentials-plugin
    • None

      Kinda at my ropes end with this one.

      I've got an inhouse plugin which takes credentials from one place and puts them into Jenkins.  It's got an AsyncAperiodicWork component to do a scheduled refresh.  Problem is CredentialsProvider.findCredentialById requires a Run object.  How do I get a run object from AsyncAperiodicWork?

      Be nice if there was a findCredentialById that didn't require the Run object.

       

            Unassigned Unassigned
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: