mirror of https://github.com/OpenTTD/OpenTTD.git
Change: always pull latest image when running CI
This commit is contained in:
parent
8c531f1278
commit
4d5396980a
|
@ -32,6 +32,7 @@ def generateCI(display_name, image_name) {
|
||||||
dir("${display_name}") {
|
dir("${display_name}") {
|
||||||
unstash "source"
|
unstash "source"
|
||||||
|
|
||||||
|
docker.image("${image_name}").pull()
|
||||||
docker.image("${image_name}").withRun("--volumes-from ${hostname} --workdir " + pwd()) { c ->
|
docker.image("${image_name}").withRun("--volumes-from ${hostname} --workdir " + pwd()) { c ->
|
||||||
sh "docker logs --follow ${c.id}"
|
sh "docker logs --follow ${c.id}"
|
||||||
sh "exit `docker wait ${c.id}`"
|
sh "exit `docker wait ${c.id}`"
|
||||||
|
|
Loading…
Reference in New Issue