Update Jenkinsfile

This commit is contained in:
s464903 2024-03-20 13:43:42 +01:00
parent 087d13434a
commit 682e34ca8f
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -40,12 +40,14 @@ pipeline {
}
stage('Execute Shell Script') {
steps {
withEnv(["CUTOFF=${params.CUTOFF}" ]) {
// Krok: Wywołanie skryptu shella
script {
sh 'chmod +x data_processing_script.sh' // Nadaj uprawnienia do wykonania skryptu
sh './data_processing_script.sh --CUTOFF 10' // Wykonaj skrypt
sh './data_processing_script.sh $CUTOFF' // Wykonaj skrypt
}
}
}
}
stage('Archive Artifacts') {
steps {