Restricting execution on slaves

18 views
Skip to first unread message

Jeff Storey

unread,
Dec 10, 2015, 9:02:00 AM12/10/15
to jenkins...@googlegroups.com
Hi, I am trying to find a way to restrict who can execute jobs on
slaves in this way:
Users in a certain list can execute jobs on slaves matching a certain
slave name pattern.

My slaves are dynamically brought up and down, so I don't want to have
to configure this on each new slave. It would be nice if there was a
way to do this globally. The reason I'm trying to do this is because I
have some slaves that have access to resources that I don't want to
open up for everyone to use.

I'm open to doing this other ways if there is a better way to do this.
I've looked at many of the security plugins and it doesn't seem like
there is a way to do what I'm trying.

Thanks.

Indra Gunawan (ingunawa)

unread,
Dec 12, 2015, 12:47:13 PM12/12/15
to jenkins...@googlegroups.com
Take a look at this plugin :
https://wiki.jenkins-ci.org/display/JENKINS/Job+Restrictions+Plugin


On 12/10/15, 6:01 AM, "jenkins...@googlegroups.com on behalf of Jeff
Storey" <jenkins...@googlegroups.com on behalf of
>--
>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 jenkinsci-use...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/jenkinsci-users/CAAhqw%3D8gXVCu9Z2AjfGB_
>qOg-_aVte0%2BeOMUJCCGE3%3DurJUzSQ%40mail.gmail.com.
>For more options, visit https://groups.google.com/d/optout.

Jeff Storey

unread,
Dec 13, 2015, 12:19:36 PM12/13/15
to Jenkins Users, ingu...@cisco.com
Thanks. I had seen that plugin, but it doesn't look like it can be configured globally but needs to be configured for each slave. So if I add a new slave or want to update the list, I need to do it for each slave.

Indra Gunawan (ingunawa)

unread,
Dec 13, 2015, 11:20:02 PM12/13/15
to Jeff Storey, Jenkins Users
Yes. That is correct
Reply all
Reply to author
Forward
0 new messages