- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security
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.
Lab 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
frontendandbackendfolders.
-
Challenge
Set the Permissions on the Folders per the Provided Instructions
Tomshould 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.Lisashould 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.Dianeshould 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 thefrontendfolder. - Create a test job in the
frontendfolder, and ensure it can run. - Log in as
Lisa, and ensure she is only able to see thebackendfolder. - Create a test job in the
backendfolder, 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
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.