diff --git a/scripts/jenkins/groovy/defaultStage.groovy b/scripts/jenkins/groovy/defaultStage.groovy index 513b82f2eae5..41c39a35a768 100644 --- a/scripts/jenkins/groovy/defaultStage.groovy +++ b/scripts/jenkins/groovy/defaultStage.groovy @@ -34,7 +34,7 @@ def call(final pipelineContext, final stageConfig) { def output = pipelineContext.getBuildConfig().getChangedPythonTests().join("\n") - sh "echo ${output} > ${h2oFolder}/tests/pyunitChangedTestList" + sh "echo \"${output}\" > ${h2oFolder}/tests/pyunitChangedTestList" sh "chown -R jenkins:jenkins ${h2oFolder}" sh "ls -al ${h2oFolder}/tests" // writeFile(