From ae8779f1715320eb537f02e1291949e0aef2438b Mon Sep 17 00:00:00 2001 From: s444380 Date: Sun, 27 Mar 2022 11:56:52 +0200 Subject: [PATCH] Added missing steps block to Jenkinsfile --- Jenkinsfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 05e867c..4f5c286 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,10 +25,12 @@ pipeline { } } stage("Download data") { - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", - "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { - sh "./download_data.sh" - archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true + steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { + sh "./download_data.sh" + archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true + } } } }