Jenkins Add permissions to jobs using groovy
问题 I need to add some permissions (Read, Build, Workspace, cancel etc) to a spesific user to a lot of jobs. I'm wondering it there is a way to do that using groovy script instead of doing it manually. 回答1: As far as I know what you are trying to do is not possible. Link: https://wiki.jenkins-ci.org/display/JENKINS/Matrix-based+security I would recommend using 'configuration slicing' if there is a change that you want to apply to multiple jobs at the same time. https://wiki.jenkins-ci.org/display