Skip to content

Commit

Permalink
[backend] Add a timestamp to failed builds (Issue#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeuken committed Aug 19, 2015
1 parent f4cf063 commit ae2cbe7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ cleanup_and_exit () {
test -z "$1" && set 0
rm -f $BUILD_ROOT/exit
if test "$1" -eq 1 -a -x /bin/df ; then
echo
echo "$HOST failed \"build $RECIPEFILE\" at `date --utc`."
echo
# okay, it failed, but maybe because disk space?
if df $BUILD_ROOT 2>/dev/null | grep -q "100%"; then
set 3
Expand Down

0 comments on commit ae2cbe7

Please sign in to comment.