fix jenkins
This commit is contained in:
parent
d6205031b9
commit
e330b1d230
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -25,15 +25,14 @@ pipeline {
|
|||||||
stage('Download Dataset') {
|
stage('Download Dataset') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["CUTOFF=${params.CUTOFF}"]) {
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
|
||||||
sh "bash ./download.sh"
|
sh "bash ./download.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts artifacts: 'data/**', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'data', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user