public String runScript ( String script , boolean crumbFlag ) throws IOException { return client . post_text ( "/scriptText" , "script=" + script , ContentType . APPLICATION_FORM_URLENCODED , crumbFlag ) ; }
Runs the provided groovy script on the server and returns the result .