This commit is contained in:
Maciej 2021-03-29 00:11:59 +02:00
parent b302f94d53
commit abb094b4aa

6
Jenkinsfile vendored
View File

@ -5,7 +5,7 @@ pipeline {
string(
defaultValue: 'maciejsobkowiak',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
name: 'username',
trim: false
)
}
@ -19,8 +19,8 @@ pipeline {
}
stage('sh: Shell Script') {
steps {
withEnv(['KAGGLE_USERNAME=${params.KAGGLE_USERNAME}',
'KAGGLE_KEY=${params.KAGGLE_KEY}' ]) {
withEnv(['KAGGLE_USERNAME=${params.username}',
'KAGGLE_KEY=${params.key}' ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets download -d szamil/who-suicide-statistics'