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 }