Ive been trying to understand how I can get a list of credentials associated with each job in a Jenkins instance via a groovy script but I'm struggling.
I can get certain properties, but I can't work out out to list credentials name, we are using a mixture of free style builds, pipelines and also multi branch
Any advice would be appreciated, thanks
Stu