Changeset - r22823:2a1d6ae768ae
[Not reviewed]
master
0 1 0
Patric Stout - 7 years ago 2018-04-21 13:15:02
truebrain@openttd.org
Change: always pull latest image when running CI
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Jenkinsfile
Show inline comments
 
@@ -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}`"
0 comments (0 inline, 0 general)