mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
Change: fail in same step as the reason for failing is in CI result
This makes it easier for people to understand what went wrong
This commit is contained in:
parent
4d5396980a
commit
a4df8bc246
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -34,8 +34,7 @@ def generateCI(display_name, image_name) {
|
|||||||
|
|
||||||
docker.image("${image_name}").pull()
|
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}; exit `docker wait ${c.id}`"
|
||||||
sh "exit `docker wait ${c.id}`"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user