Hello Jenkins users
I'm trying to use the Jenkinsfile to set the permissions of a job. When I use the groovy Snippet Generator it gives me this
properties([<object of type hudson.security.AuthorizationMatrixProperty>, pipelineTriggers([])])
How can I do this?
I managed to set all my parameters of the job through the properties function, however it resets every time the permissons I set through the webinterface. (Which is a real problem). So I need to know how to set the permissions through the Jenkinsfile.
Thank you in advance,
Rudy