From ba4ca3e909ee6be9dbc9a612ef70e781db152c3c Mon Sep 17 00:00:00 2001 From: PawelDopierala Date: Wed, 27 Mar 2024 01:59:51 +0100 Subject: [PATCH] fix kaggle2 --- Jenkinsfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3ddfb46..6fe523e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,10 +36,12 @@ pipeline { } } stage('Kaggle') { - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", - "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { - sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' - sh 'kaggle datasets list' + steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' + sh 'kaggle datasets list' + } } } }