IUM_04 - fix permission error

This commit is contained in:
Paweł Łączkowski 2024-03-29 16:04:19 +01:00
parent bcc0ed0dc3
commit 200e4204d1

1
Jenkinsfile vendored
View File

@ -31,6 +31,7 @@ pipeline {
stage('Download dataset') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) {
sh "apt-get install sudo -y"
sh "sudo mkdir /.kaggle"
sh "sudo echo > /.kaggle/kaggle.json"
sh "sudo chmod 777 /.kaggle/kaggle.json"