Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (850 points)

In Jenkins, is there a way to restrict the user to view only certain jobs?

Only through "Project-based Matrix Authorization Strategy" Jenkins allows the restriction of user ability per project. Without the 'Overall' 'Read' setting user cannot access anything this is the issue. 

Any plugin available which allows job restriction?

1 Answer

0 votes
by (119k points)

You can follow these steps to restrict the user to view only certain jobs:

  • From the Jenkins dashboard, click on Manage Jenkins.
  • Under Manage jenkins->Configure Global Security-> Select Enable security.
  • Under the Authorization section, use Jenkins "Project-based Matrix Authorization Strategy"
  • Add the particular user you want to authorize and assign the appropriate permissions.

You can check out this Jenkins Tutorial to get started with Jenkins.

Browse Categories