changed params usage

This commit is contained in:
s495716 2024-03-20 17:41:33 +01:00
parent 9ec22549f7
commit 373b256479

6
Jenkinsfile vendored
View File

@ -22,10 +22,10 @@ pipeline {
stages { stages {
stage('Download data') { stage('Download data') {
steps { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { "KAGGLE_KEY=${KAGGLE_KEY}" ]) {
sh 'chmod 777 ./data_download.sh' sh 'chmod 777 ./data_download.sh'
sh './data_download.sh --cutoff ${params.CUTOFF}' sh './data_download.sh --cutoff ${CUTOFF}'
} }
} }
} }