Likely you can use something like what it is explained below: - https://stackoverflow.com/questions/26449432/jenkins-add-permissions-to-jobs-using-groovy
I'd also if you use jobdsl you could avoid that groovy scripting and have the entire job configuration in source code, just as tip. Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/34000d57-95b3-4f41-bd12-94db98f8ba7d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
