Update Jenkinsfile
This commit is contained in:
parent
087d13434a
commit
682e34ca8f
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -40,12 +40,14 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Execute Shell Script') {
|
stage('Execute Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
|
withEnv(["CUTOFF=${params.CUTOFF}" ]) {
|
||||||
// Krok: Wywołanie skryptu shella
|
// Krok: Wywołanie skryptu shella
|
||||||
script {
|
script {
|
||||||
sh 'chmod +x data_processing_script.sh' // Nadaj uprawnienia do wykonania skryptu
|
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') {
|
stage('Archive Artifacts') {
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user