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:
|
<<: A Preliminary Study on JSBridge in Javascript
>>: MySQL 5.7.20\5.7.21 free installation version installation and configuration tutorial
Table of contents How to flatten an array 1. Usin...
Preface I wrote a small demo today. There is a pa...
This article shares the specific code of JavaScri...
Recently, there is a particularly abnormal busine...
This article example shares the specific code of ...
1. Set firewall rules Example 1: Expose port 8080...
This article shares the download, installation an...
Displaying and interpreting information about you...
1. Packaging Vue project Enter the following name...
MySQL installation instructions MySQL is a relati...
CSS3 can change the color of pictures. From now o...
There is such a scenario: a circular container, t...
For novices who have just started to build a webs...
Error message: user: 'root' host: `localh...
In this blog, I will walk you through the process...