Blog

基于Folders + Role-based Authorization Strategy插件,不同账号使用对应的Folder文件夹。

1. 创建部门目录

《Jenkins用户权限管理方案》文章正文配图 — STARBUCKET BLOG

2. 在对应Folder下去创建流水线

《Jenkins用户权限管理方案》文章正文配图(配图 2)— STARBUCKET BLOG

3. 授权策略使用 Role-Based Strategy

《Jenkins用户权限管理方案》文章正文配图(配图 3)— STARBUCKET BLOG

4. 创建角色权限

  1. Global:新增authenticated(Overall/Read)
  2. Item:创建对应用户的角色权限 《Jenkins用户权限管理方案》文章正文配图(配图 4)— STARBUCKET BLOG 把用户绑定到对应的角色上面 《Jenkins用户权限管理方案》文章正文配图(配图 5)— STARBUCKET BLOG

5. 使用绑定的帐号重新登陆,就只会看见一个授权的文件夹。

《Jenkins用户权限管理方案》文章正文配图(配图 6)— STARBUCKET BLOG

Comments & discussion

The first comment in each thread opens a topic. Signed-in readers can keep the conversation going under that topic.

No comments yet. Sign in to start a topic.

Start a new topic

Sign in to start a topic or join the discussion.