From 682e34ca8f8f34f5acd77f6a750b47d818297f02 Mon Sep 17 00:00:00 2001 From: s464903 Date: Wed, 20 Mar 2024 13:43:42 +0100 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {