当前位置:网站首页>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 !
边栏推荐
- How to choose fund products? What fund is suitable to buy in July 2022?
- Codeforces Round #296 (Div. 2) A. Playing with Paper[通俗易懂]
- FatMouse' Trade(杭电1009)
- What stocks can a new account holder buy? Is the stock trading account safe
- Data sorting in string
- 万字总结数据存储,三大知识点
- Codeforces Round #275 (Div. 2) C – Diverse Permutation (构造)[通俗易懂]
- Codeforces round 296 (Div. 2) A. playing with paper[easy to understand]
- 恶魔奶爸 A3阶段 近常速语流初接触
- 华泰证券可以做到万一佣金吗,万一开户安全嘛
猜你喜欢
【C语言】指针进阶---指针你真的学懂了吗?
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
【OpenCV 例程200篇】223. 特征提取之多边形拟合(cv.approxPolyDP)
Demon daddy B3 read extensively in a small amount, and completed 20000 vocabulary+
使用高斯Redis实现二级索引
Make this crmeb single merchant wechat mall system popular, so easy to use!
How to meet the dual needs of security and confidentiality of medical devices?
Codesonar enhances software reliability through innovative static analysis
Implement secondary index with Gaussian redis
ISO 26262 - considerations other than requirements based testing
随机推荐
awk处理JSON处理
object-c编程tips-timer「建议收藏」
私募基金在中國合法嗎?安全嗎?
H3C s7000/s7500e/10500 series post stack BFD detection configuration method
开户还得用身份证银行卡安全吗,我是小白不懂
Make this crmeb single merchant wechat mall system popular, so easy to use!
FatMouse' Trade (Hangdian 1009)
Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future
恶魔奶爸 A0 英文零基础的自我提升路
The new version of onespin 360 DV has been released, refreshing the experience of FPGA formal verification function
Mysql子查询关键字的使用方式(exists)
HDU4876ZCC loves cards(多校题)
Can Huatai Securities achieve Commission in case of any accident? Is it safe to open an account
What are the official stock trading apps in the country? Is it safe to use
Hoj 2245 planktonic triangle cell (Mathematics)
Codeforces round 275 (Div. 2) C – diverse permutation (construction) [easy to understand]
How can big state-owned banks break the anti fraud dilemma?
Introduction to referer and referer policy
Validutil, "Rethinking the setting of semi supervised learning on graphs"
Spark judges that DF is empty