Sandbox is preventing me from formatting a string
I have a simple groovy script: node ("master") { echo "I am about to try to use String.format" def jjj = String.format("bob") echo jjj } If I put this script right into my job configuration and run it, it runs fine. But if I put that script into a file which I then load via "Workflow script from SCM", I get the error org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: unclassified staticMethod java.lang.String format java.lang.String How do I work around this? Is it possible to turn off the sandbox for "Workflow script from SCM" like it is for "Workflow script"? Or is there