From a5b866ec0dcdb64059a1d929aa074bdf08413be0 Mon Sep 17 00:00:00 2001 From: Maciej Date: Mon, 29 Mar 2021 00:31:13 +0200 Subject: [PATCH] . --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e8b2f7e..045f2ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,10 +21,15 @@ pipeline { steps { // withEnv(['KAGGLE_USERNAME=$params.username', // 'KAGGLE_KEY=$params.key' ]) { - sh "KAGGLE_USERNAME=${params.username} KAGGLE_KEY=${params.key} kaggle datasets download -d szamil/who-suicide-statistics" + // sh "KAGGLE_USERNAME=${params.username} KAGGLE_KEY=${params.key} kaggle datasets download -d szamil/who-suicide-statistics" // sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' // sh 'kaggle datasets download -d szamil/who-suicide-statistics' // } + withEnv(["KAGGLE_USERNAME=${params.username}", + "KAGGLE_KEY=${params.key}" ]) { + sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' + sh 'kaggle datasets list' + } } } }