IUM_03 - Jenkinsfile fix

This commit is contained in:
Paweł Łączkowski 2024-03-20 17:49:03 +01:00
parent a65cc10fae
commit de85067b5c
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -28,8 +28,8 @@ pipeline {
stage('Download dataset') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh './download_dataset.sh ${params.CUTOFF}'
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "/download_dataset.sh $CUTOFF"
archiveArtifacts artifacts: 'data.csv', onlyIfSuccessful: true
}
}