Added missing steps block to Jenkinsfile

This commit is contained in:
s444380 2022-03-27 11:56:52 +02:00
parent 9108544552
commit ae8779f171

10
Jenkinsfile vendored
View File

@ -25,10 +25,12 @@ pipeline {
} }
} }
stage("Download data") { stage("Download data") {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", steps {
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
sh "./download_data.sh" "KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true sh "./download_data.sh"
archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true
}
} }
} }
} }