Groovy script to list credentials associated with jobs

7 views
Skip to first unread message

s...@stubrown.uk.net

unread,
Jun 23, 2017, 10:07:34 AM6/23/17
to Jenkins Users
Hi 
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
Reply all
Reply to author
Forward
0 new messages