This commit is contained in:
Paweł Skórzewski 2024-04-03 09:20:19 +02:00
parent 014f716c98
commit 669d6ccf93

View File

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