removed env

This commit is contained in:
Adam Wojdyla 2022-03-27 12:01:24 +02:00
parent 8710c9a661
commit c1c0e10e50

8
Jenkinsfile vendored
View File

@ -13,11 +13,6 @@ pipeline {
name: 'KAGGLE_KEY'
)
}
environment {
KAGGLE_USERNAME = "$params.KAGGLE_USERNAME"
KAGGLE_KEY = "$params.KAGGLE_KEY"
}
stages {
stage('Checkout') {
steps {
@ -34,9 +29,10 @@ pipeline {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
sh './download.sh'
}
}
sh './download.sh'
}
}
}