summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2018-04-21 15:15:02 +0200
committerPatric Stout <truebrain@openttd.org>2018-04-21 16:31:22 +0200
commit4d5396980a8640aa6bd158a67e17433b06200a89 (patch)
tree32e8627aec3160297ac8c24d7cc6a7c030e5a3b2 /Jenkinsfile
parent8c531f1278b9961889089dc48cb4da42301f3bf8 (diff)
downloadopenttd-4d5396980a8640aa6bd158a67e17433b06200a89.tar.xz
Change: always pull latest image when running CI
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 2d9f4e8a4..66445c695 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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}`"