diff --git a/Jenkinsfile b/Jenkinsfile index 59317c7..9a2c6a6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {