Multi-tenant setup for Jenkins -
i want setup multi-tenant support our jenkins. let, have 5 jobs 2 users (github user) in jenkins , 5 jobs in single server.
user_1 has j1, j2, j3 jobs , user_2 has j4, j5 jobs. now, user_1 can see j1, j2 , j3 jobs (don't see j4 or j5) , user_2 can see j4 , j5 jobs when come in jenkins.
how can setup jenkins multi-tenant support?
for quickest approach accomplish describing, follow these steps:
- go "configure global security" , navigate "authorization" tab
- use "role based strategy"
- give desired access users
- provide desired job level access users
you can utilize type of manning convention jobs , can use regular expression provide access set of jobs.
another option check out of authentication/authorization plugins available jenkins. popular plugin in realm matrix authorization strategy plugin (often combined active directory), though have not used this.
Comments
Post a Comment