Dockerfile

This commit is contained in:
Mateusz 2024-04-01 17:02:18 +02:00
parent 7d1574144e
commit 0b63694ab1

4
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ pipeline {
) )
password ( password (
defaultValue: '', defaultValue: '',
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials', description: 'Kaggle API key',
name: 'KAGGLE_KEY', name: 'KAGGLE_KEY',
) )
} }
@ -25,7 +25,7 @@ pipeline {
steps { steps {
withEnv (["KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_KEY=${env.KAGGLE_KEY}"]) { withEnv (["KAGGLE_USERNAME=${env.KAGGLE_USERNAME}", "KAGGLE_KEY=${env.KAGGLE_KEY}"]) {
sh 'chmod +x create-dataset.py' sh 'chmod +x create-dataset.py'
sh 'python3 ./create-dataset.py ' sh 'python3 ./create-dataset.py $KAGGLE_KEY'
} }
} }
} }