From 157fe812e8875ae76f55ec3b3fa4f95053f3053e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81=C4=85czkowski?= Date: Fri, 29 Mar 2024 16:37:46 +0100 Subject: [PATCH] IUM_04 - fix permission error --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e16e237..e0c072b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,6 +40,8 @@ pipeline { sh "sudo chmod 777 /.kaggle/kaggle.json" sh "sudo chown `whoami` /.kaggle/kaggle.json" sh "sudo chmod +x ./download_dataset.py" + sh "export KAGGLE_USERNAME=${params.KAGGLE_USERNAME}" + sh "export KAGGLE_KEY=${params.KAGGLE_KEY}" sh "python3 ./download_dataset.py $CUTOFF" archiveArtifacts artifacts: './datasets/data.csv,./datasets/train.csv,./datasets/dev.csv,./datasets/test.csv', onlyIfSuccessful: true }