From d45c1c00b0c87f71834ae3f58e7973b73dfc5deb Mon Sep 17 00:00:00 2001 From: Kacper Dudzic Date: Sat, 2 Apr 2022 16:02:15 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 15807bd..28af142 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,6 +20,8 @@ pipeline { stages { stage('Stage 1') { steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { sh 'chmod u+x ./download_dataset.sh ./process_dataset.py' echo 'Downloading dataset...' sh './download_dataset.sh' @@ -27,6 +29,7 @@ pipeline { echo 'Processing dataset...' sh 'python3 process_dataset.py' echo 'Dataset processed' + } } } }