IUM_04 - update Jenkinsfile

This commit is contained in:
Paweł Łączkowski 2024-04-03 20:04:16 +02:00
parent 04acddb289
commit f8392f2853
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -36,7 +36,7 @@ pipeline {
stage('Download dataset and preprocess data') {
steps {
docker.image('create-dataset-s464863').withRun('-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY} -e CUTOFF=${params.CUTOFF}') {
docker.image('create-dataset-s464863').withRun("-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${params.CUTOFF}") {
sh "chmod +x ./download_dataset.py"
sh "python3 ./download_dataset.py ${params.CUTOFF}"
archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true