> On 25. Mar 2020, at 14:25, Roland Asmann <[email protected]> wrote:
>
> Now, I was wondering if it was possible to configure nodes to be only used by
> certain people/groups/jobs/..., or even better, have the UI hide them from
> people that are not supposed to use them?
>
> We are currently using Project-based security with LDAP and the Folder Plugin
> --> Every Project has a Group in LDAP and a folder in Jenkins where they have
> their jobs. It would be great if I can somehow 'connect' a server to one or
> more group(s) or folder(s).
The Build Authorization mechanism does that by associating user authentications
with running builds, and using the Agent/Build permission to control who gets
to use an agent (it's a different permission than Job/Build):
https://plugins.jenkins.io/authorize-project
An easier approach would be plugins like
https://plugins.jenkins.io/job-restrictions/ that use a different mechanism to
limit which jobs are allowed to build on a node that is easier to introduce to
an existing setup.
Neither of the plugins is all that well maintained at the moment, I think, but
maybe they're good enough in their current state.
--
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/188E47A8-9985-47A6-9C52-227373F1E8FD%40beckweb.net.