Placing scriptler scripts (with the appropriate META header) in the 
JENKINS_HOME/scriptler/scripts folder allows their autodiscovery and 
loading once the server is re-started.
However, these scripts are still not usable for builds until the permission 
is set to 'Allow execution by user with RunScript permission' Is there any 
way that this permission can be set programmatically?

In my use case, I want to assist users not very familiar with Jenkins to 
mirror a working instance of Jenkins with jobs that depend on Groovy 
scriptlets. Job configuration and scripts will be chekced out from SCM but 
it would be useful if the script permissions can be set through a simple 
installation script.

Thanks for your feedback
Ioannis 

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4302502e-31bd-4caa-ad58-3cb004dd430c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to