public CpsGroovyShell build() { ClassLoader parent = this.parent; if (parent==null) parent = makeClassLoader(); CpsGroovyShell shell = new CpsGroovyShell(parent, execution, makeConfig()); for (GroovyShellDecorator d : decorators) { d.configureShell(execution,shell); } return shell; } }