Change: always pull latest image when running CI

This commit is contained in:
Patric Stout 2018-04-21 15:15:02 +02:00
parent 8c531f1278
commit 4d5396980a
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -32,6 +32,7 @@ def generateCI(display_name, image_name) {
dir("${display_name}") {
unstash "source"
docker.image("${image_name}").pull()
docker.image("${image_name}").withRun("--volumes-from ${hostname} --workdir " + pwd()) { c ->
sh "docker logs --follow ${c.id}"
sh "exit `docker wait ${c.id}`"