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

Blog    

Recommend

How to use Docker to limit container resources

Problem Peeping In the server, assuming that the ...

Comparison of the efficiency of different methods of deleting files in Linux

Test the efficiency of deleting a large number of...

Binary Search Tree Algorithm Tutorial for JavaScript Beginners

Table of contents What is a Binary Search Tree (B...

How to configure common software on Linux

When you get a new Linux server, you generally ha...

Implementation of crawler Scrapy image created by dockerfile based on alpine

1. Download the alpine image [root@DockerBrian ~]...

Continuous delivery using Jenkins and Docker under Docker

1. What is Continuous Delivery The software produ...

How to use JS to parse the excel content in the clipboard

Table of contents Preface 1. Paste Events and Cli...

Detailed explanation of html-webpack-plugin usage

Recently, I used html-webapck-plugin plug-in for ...

Example of how to reference environment variables in Docker Compose

In a project, you often need to use environment v...

MySQL binlog opening steps

Binlog is a binary log file that is used to recor...

Common commands for deploying influxdb and mongo using docker

Deploy database based on docker sudo docker pull ...

Summary of CSS3 practical methods (recommended)

1. Rounded border: CSS CodeCopy content to clipbo...

Nginx configuration location matching rules example explanation

The scope of nginx configuration instructions can...

How to use HTML+CSS to create TG-vision homepage

This time we use HTML+CSS layout to make a prelim...