}
CompilerConfiguration cc = new CompilerConfiguration();
cc.addCompilationCustomizers(ic);
cc.addCompilationCustomizers(
(execution!=null && execution.isSandbox()) ? new SandboxCpsTransformer() : new CpsTransformer());
cc.setScriptBaseClass(CpsScript.class.getName());
for (GroovyShellDecorator d : GroovyShellDecorator.all()) {
d.configureCompiler(execution,cc);
}