- Lab
- A Cloud Guru
Working with Jenkins Permissions
In this hands-on lab, we will set up a working group that has a supervisor and two users. The supervisor account will be able to see the users' resources, but the users will not be able to see one another's resources. This will demonstrate an understanding of how permissions are applied in Jenkins.
Path Info
Table of Contents
-
Challenge
Configure Global Security, Log in as the Administrator, and Create the Users and Folders
- Log in to the server using the provided credentials.
- Configure global security to utilize the Project-based Matrix Authorization Strategy.
- Create the three users as well as the
frontend
andbackend
folders.
-
Challenge
Set the Permissions on the Folders per the Provided Instructions
Tom
should only be able to see his folder and the jobs in that folder. He should not be able to seeLisa
's folder or the jobs in that folder.Lisa
should not be able to seeTom
's folder or the jobs in that folder. She should only be able to see her folder and the jobs in her folder.Diane
should be able to see bothLisa
's andTom
's folders and jobs but should not be able to run those jobs.
-
Challenge
Log in as Each of the Users and Verify Permissions Are Working Correctly
- Log in as
Tom
, and ensure he is only able to see thefrontend
folder. - Create a test job in the
frontend
folder, and ensure it can run. - Log in as
Lisa
, and ensure she is only able to see thebackend
folder. - Create a test job in the
backend
folder, and ensure it can run. - Log in as Diane, and that she can see both folders and the job status but is not able to run the jobs in those folders.
- Log in as
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.