当前位置:网站首页>Jenkins user rights management
Jenkins user rights management
2022-07-07 21:25:00 【Cloud computing security】

Jenkins edition :2.332.3
Catalog
One 、 Installing a plug-in
1.1 install
stay Jenkins Install the plug-in in the management plug-in of
Input Role You can find it , As shown in the figure below, I have already installed .

1.2 To configure
Click on Configure Global Security Enter the configuration
1、 stay Jenkins The following icons are found in the settings

2、 Select the plug-in just installed as my user permission

Two 、 Create the role
2.1 Plug in features
stay Jenkins Found under settings Manage and Assign Roles And click into

The main function :

2.2 Role management
1、 Click on the image above Manage Roles Enter role management

2、 Create a global role
Create a file called base The global role of , This role can be used as the basic permission of all users , That is, all ordinary users have basic permissions , And give the character Overall Under the Read jurisdiction .
3、 Create project roles
Create a file called shop Project role of ,Pattern For filtering or matching regular expression items ,cms.* Said to cms The first item will be matched to , After setting up , Assign corresponding permissions to the project role .

Pattern Can match the job (job)、 agent (agents)、 Folder (folders) And other project keywords and types .
The format is :jobs, agents, folders, etc If there are more than one , Use commas in English "," Just separate .
4、 Create node roles
Node role is mainly used for master-slave Jenkins When the deployment , Configure node permissions .

2.3 Role assignment
1、 Create user

2、 Click on Assign Roles Assign permissions to users

Follow the project role permissions configured above ,ops Users can only match with cms The opening project , He can't see other projects , Next, we will verify .
3、ops User login authentication

thus ,Jenkins User permissions are set !
边栏推荐
- 数值法求解最优控制问题(〇)——定义
- Demon daddy A1 speech listening initial challenge
- 【函数递归】简单递归的5个经典例子,你都会吗?
- How to meet the dual needs of security and confidentiality of medical devices?
- 恶魔奶爸 A0 英文零基础的自我提升路
- MinGW MinGW-w64 TDM-GCC等工具链之间的差别与联系「建议收藏」
- Ten thousand word summary data storage, three knowledge points
- UVA 11080 – Place the Guards(二分图判定)
- Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future
- Implement secondary index with Gaussian redis
猜你喜欢

How to meet the dual needs of security and confidentiality of medical devices?

C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)

Demon daddy B3 read extensively in a small amount, and completed 20000 vocabulary+

程序猿赚的那点钱算个P啊!

【C语言】指针进阶---指针你真的学懂了吗?

Virtual machine network configuration in VMWare
MySQL约束之默认约束default与零填充约束zerofill

【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
Codesonar enhances software reliability through innovative static analysis
Default constraint and zero fill constraint of MySQL constraint
随机推荐
The difference between NPM uninstall and RM direct deletion
Contour layout of margin
gridView自己定义做时间排版「建议收藏」
国家正规的股票交易app有哪些?使用安不安全
awk处理JSON处理
The little money made by the program ape is a P!
95年专注安全这一件事 沃尔沃未来聚焦智能驾驶与电气化领域安全
Virtual machine network configuration in VMWare
[function recursion] do you know all five classic examples of simple recursion?
[200 opencv routines] 223 Polygon fitting for feature extraction (cv.approxpolydp)
Demon daddy guide post - simple version
Is it safe to open an account online now? I want to know where I can open an account in Nanning now?
Codeforces round 296 (Div. 2) A. playing with paper[easy to understand]
【C语言】指针进阶---指针你真的学懂了吗?
Using enumeration to realize English to braille
Ten thousand word summary data storage, three knowledge points
[UVALive 6663 Count the Regions] (dfs + 离散化)[通俗易懂]
C language helps you understand pointers from multiple perspectives (1. Character pointers 2. Array pointers and pointer arrays, array parameter passing and pointer parameter passing 3. Function point
Write a jump table
Is it safe to open an account of BOC shares in kainiu in 2022?