IUM_04 - update Jenkinsfile - fix
This commit is contained in:
parent
d6c4cbae58
commit
3fabf235e4
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
@ -36,14 +36,16 @@ pipeline {
|
|||||||
|
|
||||||
stage('Download dataset and preprocess data') {
|
stage('Download dataset and preprocess data') {
|
||||||
steps {
|
steps {
|
||||||
docker.image('create-dataset-s464863').withRun(
|
script {
|
||||||
"-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
docker.image('create-dataset-s464863').withRun(
|
||||||
"-e KAGGLE_KEY=${params.KAGGLE_KEY}",
|
"-e KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"-e CUTOFF=${params.CUTOFF}"
|
"-e KAGGLE_KEY=${params.KAGGLE_KEY}",
|
||||||
) {
|
"-e CUTOFF=${params.CUTOFF}"
|
||||||
sh "chmod +x ./download_dataset.py"
|
) {
|
||||||
sh "python3 ./download_dataset.py ${params.CUTOFF}"
|
sh "chmod +x ./download_dataset.py"
|
||||||
archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true
|
sh "python3 ./download_dataset.py ${params.CUTOFF}"
|
||||||
|
archiveArtifacts artifacts: 'datasets/*', onlyIfSuccessful: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user