Victor,
thank you so much for your help! I already had Script Security Plugin
installed, and all the methods I tried to execute unsuccessfully were
conveniently added in the Method Authorization queue! All i needed to do is
just approved them. Worked like a charm. Thank you!!
On Thursday, Apri
It seems
the https://wiki.jenkins-ci.org/display/JENKINS/Script+Security+Plugin has
been installed and enabled, therefore you need to whitelist those methods.
Or even using
the
https://wiki.jenkins-ci.org/display/JENKINS/Permissive+Script+Security+Plugin
plugin in case you would like to grant
Hello,
I am writing a simple groovy script to display role-based choices in the
Extensible Choice. I get
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts
not permitted to use staticMethod jenkins.model.Jenkins getInstance
when calling
def authStrategy = Jenkin