This commit is contained in:
AWieczarek 2024-04-02 23:15:01 +02:00
parent 1388befc12
commit 08879d87d4

2
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ pipeline {
"KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_USERNAME=${env.KAGGLE_USERNAME}",
"KAGGLE_KEY=${env.KAGGLE_KEY}" "KAGGLE_KEY=${env.KAGGLE_KEY}"
]) { ]) {
sh 'mkdir -p ~/.kaggle' // Create .kaggle directory if needed sh 'mkdir -p ../.kaggle' // Create .kaggle directory if needed
sh 'echo \'{"username": "${KAGGLE_USERNAME}", "key": "${KAGGLE_KEY}"}\' > ~/.kaggle/kaggle.json' sh 'echo \'{"username": "${KAGGLE_USERNAME}", "key": "${KAGGLE_KEY}"}\' > ~/.kaggle/kaggle.json'
sh "python3 IUM_02.py" sh "python3 IUM_02.py"
} }