From d6c4cbae589cd7ca52569a95451eb08a41240ca1 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:10:48 +0200 Subject: [PATCH] IUM_04 - update Jenkinsfile - fix --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index a22fa5f..5c8f644 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,11 @@ 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}", + "-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