From 43ab7d2511ec094e82f2e311466f1c0f94545c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81=C4=85czkowski?= Date: Wed, 3 Apr 2024 20:20:48 +0200 Subject: [PATCH] IUM_04 - update Jenkinsfile - fix --- Jenkinsfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f90cc49..02673ed 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,11 +37,7 @@ pipeline { stage('Download dataset and preprocess data') { steps { script { - 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}"','"-e KAGGLE_KEY=${params.KAGGLE_KEY}"','"-e CUTOFF=${params.CUTOFF}"') { sh "chmod +x ./download_dataset.py" sh "python3 ./download_dataset.py ${params.CUTOFF}" archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true