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') { stage('Kaggle') {
script { steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { script {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'kaggle datasets list' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
}
} }
} }
} }