From 388244ea63d6df4e0ca3353e5d1eee746fd819cb 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:35:11 +0200 Subject: [PATCH] IUM_04 - update Jenkinsfile - test --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c3786f9..34cae74 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { dockerfile { filename 'Dockerfile' reuseNode true - args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY}" + args "-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME} -e KAGGLE_KEY=${params.KAGGLE_KEY} -e CUTOFF=${params.CUTOFF}" } } @@ -37,6 +37,8 @@ pipeline { script { sh "echo ${params.KAGGLE_USERNAME}" sh "echo ${KAGGLE_USERNAME}" + sh "echo ${CUTOFF}" + sh "echo ${params.CUTOFF}" sh "chmod +x ./download_dataset.py" sh "python3 ./download_dataset.py ${params.CUTOFF}" archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true