remove withenv

This commit is contained in:
Kamil Guttmann 2022-04-03 19:01:57 +02:00
parent 58103c31dc
commit 45a6218f4c

4
Jenkinsfile vendored
View File

@ -35,15 +35,11 @@ pipeline {
}
stage("Download data") {
steps {
withEnv(['KAGGLE_USERNAME=${params.KAGGLE_USERNAME}',
'KAGGLE_KEY=${params.KAGGLE_KEY}',
'CUTOFF=${params.CUTOFF}']) {
sh "echo $KAGGLE_USERNAME $CUTOFF $IS_DOCKER"
sh "./download_data.sh"
sh "python3 clean_and_split_data.py"
sh "echo $IS_DOCKER"
archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true
}
}
}
}