当前位置:网站首页>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 !
边栏推荐
- Codeforces 474 F. Ant colony
- Spark judges that DF is empty
- Codeforces Round #296 (Div. 2) A. Playing with Paper[通俗易懂]
- Jetty:配置连接器[通俗易懂]
- Make this crmeb single merchant wechat mall system popular, so easy to use!
- [matrix multiplication] [noi 2012] [cogs963] random number generator
- 国家正规的股票交易app有哪些?使用安不安全
- MySQL约束之默认约束default与零填充约束zerofill
- 【矩阵乘】【NOI 2012】【cogs963】随机数生成器
- 刚开户的能买什么股票呢?炒股账户安全吗
猜你喜欢
Static analysis of software defects codesonar 5.2 release
The little money made by the program ape is a P!
C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)
Details of C language integer and floating-point data storage in memory (including details of original code, inverse code, complement, size end storage, etc.)
解决使用uni-app MediaError MediaError ErrorCode -5
ISO 26262 - considerations other than requirements based testing
Default constraint and zero fill constraint of MySQL constraint
Magic weapon - sensitive file discovery tool
C语言多角度帮助你深入理解指针(1. 字符指针2. 数组指针和 指针数组 、数组传参和指针传参3. 函数指针4. 函数指针数组5. 指向函数指针数组的指针6. 回调函数)
Onespin | solve the problems of hardware Trojan horse and security trust in IC Design
随机推荐
C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)
恶魔奶爸 C
POJ 3140 contents division "suggestions collection"
Using enumeration to realize English to braille
Demon daddy A3 stage near normal speed speech flow initial contact
95年专注安全这一件事 沃尔沃未来聚焦智能驾驶与电气化领域安全
I have to use my ID card to open an account. Is the bank card safe? I don't understand it
easyui 日期控件清空值
恶魔奶爸 B3 少量泛读,完成两万词汇量+
Can Huatai Securities achieve Commission in case of any accident? Is it safe to open an account
Codeforces Round #296 (Div. 2) A. Playing with Paper[通俗易懂]
Insufficient permissions
FTP steps for downloading files from Huawei CE switches
Codeforces round 296 (Div. 2) A. playing with paper[easy to understand]
Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
Is private equity legal in China? Is it safe?
阿洛的烦恼
GridView defines its own time for typesetting "suggestions collection"
Object-C programming tips timer "suggestions collection"
Focusing on safety in 1995, Volvo will focus on safety in the field of intelligent driving and electrification in the future