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'){