From 35edc4b46b6dc76debedb72d0acd809e2917589d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Sk=C3=B3rzewski?= Date: Wed, 3 Apr 2024 09:07:35 +0200 Subject: [PATCH] Kaggel + Docker (attempt 2) --- create-dataset.Jenkinsfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/create-dataset.Jenkinsfile b/create-dataset.Jenkinsfile index 89310d7..80576d5 100644 --- a/create-dataset.Jenkinsfile +++ b/create-dataset.Jenkinsfile @@ -33,10 +33,12 @@ pipeline { } } stage('Kaggle') { - script { - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { - sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' - sh 'kaggle datasets list' + steps { + script { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' + sh 'kaggle datasets list' + } } } }