How to Manage Users and Roles in Jenkins

In this tutorial, How to Manage users and Roles in jenkins. You have installed “plugin Manage and Assign Roles” if yet then install it! Now let begin.

Install and configure Manage users and Roles in Jenkins

1. Click Jenkins –> Manage Jenkins –> Configure Global Security –> Choose Role-Based Strategy.

How to Manage Users and Roles in Jenkins

2. click Jenkins –> Manage Jenkins –> Click Manage and Assign Roles –> Click Manage Roles.

In Global roles –> Role to add. For example, Add new admin, user

How to Manage Users and Roles in Jenkins devopsroles.com

In “Project roles” –> Add “Role to add” and “Pattern”.
For example, Multiple Pattern for NGINX.
Role to add: NGINX
Pattern: startnginx.|stopnginx.|buildnginx.*

How to Manage Users and Roles in Jenkins devopsroles

3. click Jenkins –> Manage Jenkins –> Click Manage and Assign Roles –> Click Assign Roles.

In “Global roles” –> Add “User/group to add”.
For example: “User/group to add”add new xxx_jenkins account and chose “user” role. Account HuuPV chose the “admin” role as in the picture below.

How to Manage Users and Roles in Jenkins roles

In “Item roles” –> Add “User/group to add”.

For example: choose xxx_jenkin account with role “ NGINX “ have created above step 2 as the picture below.

How to Manage Users and Roles in Jenkins 1

Plugin Manage and Asign Roles.

How to Manage Users and Roles in Jenkins devops

Conclusion

Thought the article, How to use “How to Manage Users and Roles in Jenkins” as above. I hope will this your helpful. Thank you for reading the DevopsRoles page!

,

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.