Access control in pipeline input step

375 views
Skip to first unread message

Lionel Orellana

unread,
Apr 27, 2016, 10:23:46 PM4/27/16
to Jenkins Users
Hi

How can I restrict who can actually approve a manual (i.e. input) step in a pipeline? If I have a "Deploy to PROD" step I only want people with a particular role to be able to approve. Am I going about it the wrong way?

Thanks

Lionel. 

Daniel Beck

unread,
Apr 28, 2016, 3:45:55 AM4/28/16
to jenkins...@googlegroups.com

> On 28.04.2016, at 04:23, Lionel Orellana <lion...@gmail.com> wrote:
>
> How can I restrict who can actually approve a manual (i.e. input) step in a pipeline? If I have a "Deploy to PROD" step I only want people with a particular role to be able to approve. Am I going about it the wrong way?
>

'input' accepts an optional parameter 'submitter' that is the group or user allowed to respond to the input request. If your role maps to a group in Jenkins, that's what you should be able to specify there.


Lionel Orellana

unread,
Apr 28, 2016, 5:10:41 PM4/28/16
to jenkins...@googlegroups.com
Great. Thanks.



--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/0iWKe6hQ-ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/E54FB9C5-A5DC-4927-BFDC-7194636B7B71%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages