How to configure user role permissions in Jenkins

How to configure user role permissions in Jenkins

Jenkins configuration of user role permissions requires the installation of the Role Strategy Plugin

1. Install the Role Strategy Plugin

Download address: https://updates.jenkins-ci.org/download/plugins/role-strategy/

Open Jenkins System Management-->Manage Plugins-->Advanced Click Upload and select the downloaded plugin to install

After installation, restart Jenkins

2. After installing the plug-in, go to System Settings->Configure Global Security, configure as follows, save

3. Configure User/Group permissions

Open System Management --> Manage and Assign Roles

3-1. Manage Roles

Select this option to create global roles and project roles, and assign permissions to the roles.

Add the test group and grant it the Over all Read permission, Job Build permission, and View Read permission.

Jobs seen in Project roles configuration

For example, to match a string starting with auto, you need to write auto.* instead of auto*. Remember this! ! ! ! ! !

Save after configuration

3-2. Add user permissions (Assign Role)

You need to add a user first System Management --> User Management --> Add User

4. Create an autotest task. When user test (who only has build permissions) logs in, he can only see the autotest task. This allows different users to have different views and permissions.

Summarize

The above is the implementation method of configuring user role permissions in Jenkins introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • Detailed tutorial on docker-compose deployment and configuration of Jenkins
  • Jenkins configuration automatic email sending process diagram
  • Jenkins configuration python script timing task process diagram
  • How to use Jenkins to configure Git+Maven automated build
  • Jenkins installation and configuration notes
  • Detailed installation and configuration of Jenkins
  • Jenkins primary application Publish Over SSH plugin configuration

<<:  A Preliminary Study on JSBridge in Javascript

>>:  MySQL 5.7.20\5.7.21 free installation version installation and configuration tutorial

Recommend

js implements array flattening

Table of contents How to flatten an array 1. Usin...

How to use native JS to implement touch sliding monitoring events

Preface I wrote a small demo today. There is a pa...

Implementing a random roll caller based on JavaScript

This article shares the specific code of JavaScri...

jquery+springboot realizes file upload function

This article example shares the specific code of ...

Detailed explanation of firewall rule settings and commands (whitelist settings)

1. Set firewall rules Example 1: Expose port 8080...

MySQL 5.6.37 (zip) download installation configuration graphic tutorial

This article shares the download, installation an...

How to decrypt Linux version information

Displaying and interpreting information about you...

How to deploy Vue project using Docker image + nginx

1. Packaging Vue project Enter the following name...

MySQL installation tutorial under Windows with pictures and text

MySQL installation instructions MySQL is a relati...

Various ways to modify the background image color using CSS3

CSS3 can change the color of pictures. From now o...

Alibaba Cloud Server Domain Name Resolution Steps (Tutorial for Beginners)

For novices who have just started to build a webs...

Solution to mysql prompt "got timeout reading communication packets"

Error message: user: 'root' host: `localh...

The process of installing Docker in Linux system

In this blog, I will walk you through the process...