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' + } } } }