Kaggel + Docker (attempt 2)

This commit is contained in:
Paweł Skórzewski 2024-04-03 09:07:35 +02:00
parent 5cf8fe8d7f
commit 35edc4b46b

View File

@ -33,10 +33,12 @@ pipeline {
}
}
stage('Kaggle') {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
steps {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
}
}
}
}