You could use the Active Choices plugin 
<https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin> and 
have your Groovy script determine the options based on the current user.
It should be pretty easy I think.

On Friday, March 31, 2017 at 11:36:18 AM UTC-4, [email protected] wrote:
>
> 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\user userA userB userC
> 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f31d56a4-fc22-4951-85de-8f2d1cddbe14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to