From 26f3ad351af1a0b70238a7b1b66f809d13f5e841 Mon Sep 17 00:00:00 2001 From: Kamil Guttmann Date: Sun, 3 Apr 2022 20:09:23 +0200 Subject: [PATCH] Again removed withenv --- Jenkinsfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0bb5895..3252a77 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,13 +28,10 @@ pipeline { } stage("Download data") { steps { - withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", - "KAGGLE_KEY=${params.KAGGLE_KEY}"]) { - sh "ls" - sh "./download_data.sh" - sh "python3 clean_and_split_data.py" - archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true - } + sh "ls" + sh "./download_data.sh" + sh "python3 clean_and_split_data.py" + archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true } } }