From abb094b4aa83cd6b04cc5b766fa85926fbe1d959 Mon Sep 17 00:00:00 2001 From: Maciej Date: Mon, 29 Mar 2021 00:11:59 +0200 Subject: [PATCH] . --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'