0

In Multi Branch pipeline Jenkins job is there anyway to allow only specified users to build jobs of few branches. Example :- branches release/* should be build only by specified users

jon
  • 213
  • 1
  • 5
  • 18
  • So, I don't know is the short answer. However since you can block the entire job using Jenkins Properties: authorizationMatrix, then you should be able to get access to the same infomation: `hudson.model.Item.Build:GROUP_NAME_HERE` programatically from within the pipeline. Just may need to have admin permissions. – metalisticpain May 27 '19 at 23:59
  • Possible duplicate of [Jenkins 2 Multibranch Pipelines - How can I limit the visibility/execution of branches using the Role Strategy Plugin?](https://stackoverflow.com/questions/43666659/jenkins-2-multibranch-pipelines-how-can-i-limit-the-visibility-execution-of-br) – hakamairi May 28 '19 at 09:44

0 Answers0