fix jenkins

This commit is contained in:
michalzareba 2021-03-28 20:54:54 +02:00
parent d0333007fa
commit 97e9b3f3e3

4
Jenkinsfile vendored
View File

@ -16,11 +16,11 @@ pipeline{
} }
stage('sh: Shell Script'){ stage('sh: Shell Script'){
steps{ steps{
withEnv(["CUTOFF=${params.CUTOFF}"]) withEnv(["CUTOFF=${params.CUTOFF}"]) {
sh "chmod 777 ./script.sh" sh "chmod 777 ./script.sh"
sh "./script.sh" sh "./script.sh"
} }
} }}
stage('Archive artifacts'){ stage('Archive artifacts'){
steps{ steps{
archiveArtifacts 'test.csv' archiveArtifacts 'test.csv'