Jenkins restrict view of jobs per user

前端 未结 7 1402
萌比男神i
萌比男神i 2020-12-02 09:00

Is there a way to restrict user to view only certain jobs in Jenkins.

Jenkins allows the restriction of user ability per project via the \"Project-based Matrix Autho

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-02 09:30

    Only one plugin help me: Role-Based Strategy :

    wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin

    But official documentation (wiki.jenkins-ci.org/display/JENKINS/Role+Strategy+Plugin) is deficient.

    The following configurations worked for me:

    configure-role-strategy-plugin-in-jenkins

    Basically you just need to create roles and match them with job names using regex.

提交回复
热议问题