IUM_04 - fix permission error

This commit is contained in:
Paweł Łączkowski 2024-03-29 16:37:46 +01:00
parent 5d8da76e7f
commit 157fe812e8

2
Jenkinsfile vendored
View File

@ -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
}