Update Jenkinsfile
This commit is contained in:
parent
b694a1bff7
commit
f70e130c52
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -16,10 +16,8 @@ pipeline {
|
|||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
def customImage = docker.build("test-image", "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
def customImage = docker.build("test-image", "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
||||||
customImage.inside (
|
sh 'bash ./get_dataset.sh $CUTOFF'
|
||||||
sh 'bash ./get_dataset.sh $CUTOFF'
|
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
||||||
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user