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") {
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
}
}
}
}