IUM_04 - fix permission error

This commit is contained in:
Paweł Łączkowski 2024-03-29 16:21:40 +01:00
parent b5536c3a50
commit 6df33079cb

1
Jenkinsfile vendored
View File

@ -39,6 +39,7 @@ pipeline {
sh "sudo echo > /.kaggle/kaggle.json"
sh "sudo chmod 777 /.kaggle/kaggle.json"
sh "sudo chown `whoami` /.kaggle/kaggle.json"
sh "echo $KAGGLE_USERNAME"
sh "sudo chmod +x ./download_dataset.py"
sh "python3 ./download_dataset.py $CUTOFF"
archiveArtifacts artifacts: './datasets/data.csv,./datasets/train.csv,./datasets/dev.csv,./datasets/test.csv', onlyIfSuccessful: true