This commit is contained in:
Paweł Skórzewski 2024-04-03 09:23:44 +02:00
parent 669d6ccf93
commit 27ba936977

View File

@ -35,9 +35,19 @@ pipeline {
stage('Kaggle') { stage('Kaggle') {
steps { steps {
sh 'pip list' sh 'pip list'
sh 'pip3 list'
sh 'pip --version'
sh 'pip3 --version'
sh 'python --version'
sh 'python3 --version'
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 'pip list'
sh 'pip3 list'
sh 'pip --version'
sh 'pip3 --version'
sh 'python --version'
sh 'python3 --version'
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list' sh 'kaggle datasets list'
} }