IUM_04 - fix permission error

This commit is contained in:
Paweł Łączkowski 2024-03-29 15:46:58 +01:00
parent 1a6fa3863d
commit 265b9d7764

1
Jenkinsfile vendored
View File

@ -32,6 +32,7 @@ pipeline {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "chmod +x ./download_dataset.py"
sh "chmod 777 /.kaggle"
sh "python3 ./download_dataset.py $CUTOFF"
archiveArtifacts artifacts: './datasets/data.csv,./datasets/train.csv,./datasets/dev.csv,./datasets/test.csv', onlyIfSuccessful: true
}