diff --git a/Jenkinsfile b/Jenkinsfile index 1ae02d3..fc48e26 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'