From 7082b65b9919d5b669b8f8ae07c9a9d2c26a33f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81=C4=85czkowski?= Date: Wed, 3 Apr 2024 21:33:25 +0200 Subject: [PATCH] IUM_04 - update Jenkinsfile - test --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 889d57c..c3786f9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { dockerfile { filename 'Dockerfile' reuseNode true - args "-e KAGGLE_USERNAME=${KAGGLE_USERNAME} -e KAGGLE_KEY=${KAGGLE_KEY}" + args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}" } } @@ -36,6 +36,7 @@ pipeline { steps { script { sh "echo ${params.KAGGLE_USERNAME}" + sh "echo ${KAGGLE_USERNAME}" sh "chmod +x ./download_dataset.py" sh "python3 ./download_dataset.py ${params.CUTOFF}" archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true