AsyncAperiodicWork to be able to call CredentialsProvider.findCredentialById

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

       

            Assignee:
            Unassigned
            Reporter:
            Michael Carter
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: