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:

  1. go "configure global security" , navigate "authorization" tab
  2. use "role based strategy"
  3. give desired access users
  4. 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

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -