Is there a jenkins parameter plugin that can show parameter options base on current login user?

17 views
Skip to first unread message

kmte...@gmail.com

unread,
Mar 31, 2017, 11:36:18 AM3/31/17
to Jenkins Users
For example, assume there is a choice parameter project and 7 options(opt1,2..7), userA have the 3 options(opt1, opt2, opt3) to pick, userB have 5 options(opt2, opt3, opt4, opt5, opt7) and userC have all 7 options.

And the options can be configure in a matrix like below:
 
option\useruserAuserBuserC
opt1


opt2

opt3



opt4



opt5



opt6



opt7




 
Are there any plugins can support this scenario? Or any alternatives?


I am looking forward your reply and appreciate for that, thanks.

Shawyeok

Ioannis Moutsatsos

unread,
Apr 3, 2017, 7:20:26 AM4/3/17
to Jenkins Users
You could use the Active Choices plugin and have your Groovy script determine the options based on the current user.
It should be pretty easy I think.
Reply all
Reply to author
Forward
0 new messages