Skip to content

Commit

Permalink
Give tail calls enough time to print errors (#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock authored Oct 25, 2018
1 parent 0402240 commit de426e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Jenkinsfile.gitian
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ for(int i = 0; i < targets.size(); i++) {
tail -F var/install.log &
tail -F var/build.log &
USE_DOCKER=1 ./bin/gbuild -j ${proc} -m ${mem} --commit dash=${commit} --url dash=${repositoryUrl} ../dash/contrib/gitian-descriptors/gitian-${target}.yml
RET=$?
# give the above tail calls enough time to print everything on failure
sleep 2s
exit $RET
"""
} finally {
// make sure it doesn't run forever
Expand Down

0 comments on commit de426e9

Please sign in to comment.