Again removed withenv

This commit is contained in:
Kamil Guttmann 2022-04-03 20:09:23 +02:00
parent 1a37703962
commit 26f3ad351a

11
Jenkinsfile vendored
View File

@ -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
}
}
}