From 34a6a3a29cdb36d39f50b262bf4ef0ac1ff2d389 Mon Sep 17 00:00:00 2001 From: Dawid Date: Sun, 28 Mar 2021 21:02:36 +0200 Subject: [PATCH] fix braces --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d12131e..396b16d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,9 +16,10 @@ pipeline{ } stage('sh: Shell Script'){ steps{ - withEnv(["CUTOFF=${params.CUTOFF}"]) - sh "chmod 777 ./script.sh" - ./data.sh + withEnv(["CUTOFF=${params.CUTOFF}"]) { + sh "chmod 777 ./script.sh" + ./data.sh + } } } stage('Archive artifacts'){