1

运维系列 | Jenkins 插件 Role-based Authorization Strategy - Tinywan

 2 years ago
source link: https://www.cnblogs.com/tinywan/p/14504052.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

运维系列 | Jenkins 插件 Role-based Authorization Strategy

插件  Role-based Authorization Strategy

指定安全策略

配置后出现这个选项

 3、进入 Manage and Assign Roles  配置Pattern 匹配项目,

如果要匹配  Fabu-uu-api-test 项目,正则是Fabu.*.test   而不是 Fabu*test,记住前后俩个点。同样过滤TEST开头的jobs,要写成TEST.*而不是TEST*,切记。

 4、进入  Assign Roles  配置角色即可

 很大的一个坑!!!!!!!!!!!!!

 很大的一个坑!!!!!!!!!!!!!

每次设置了权限,测试账号登录后依然可以看见所有的项目


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK