From f3fd5601579ef5654488d524adc56ef2a48b311d Mon Sep 17 00:00:00 2001 From: Daniel Spilker Date: Wed, 9 Jan 2019 22:22:50 +0100 Subject: [PATCH] disable GroovyShell cache for sandbox mode [FIXES JENKINS-55479] --- .../jobdsl/dsl/AbstractDslScriptLoader.groovy | 8 ++++- .../plugin/SandboxDslScriptLoader.groovy | 4 +++ .../plugin/ExecuteDslScriptsSpec.groovy | 29 +++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/AbstractDslScriptLoader.groovy b/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/AbstractDslScriptLoader.groovy index e8358ef27..33ca2d698 100644 --- a/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/AbstractDslScriptLoader.groovy +++ b/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/AbstractDslScriptLoader.groovy @@ -53,7 +53,9 @@ abstract class AbstractDslScriptLoader