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