Can System Groovy Choice Parameter be defined globally?
134 views
Skip to first unread message
Victoria Kozel
unread,
Apr 25, 2017, 7:05:35 PM4/25/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
I need to define same System Groovy Choice Parameter in multiple Jenkins jobs. I wonder if there is a way to avoid copying the script in all those jobs, and maybe define the script as a global parameter just once - same way as Global Choice Parameter from same plugin is defined. If you have an answer or an idea please share :)
Thank you!!
Vicki
Victor Martinez
unread,
Apr 26, 2017, 6:00:38 PM4/26/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
Hi there,
I don't know what plugin you are using exactly. There are different approaches as far as I see: