diff options
author | Holger Levsen <holger@layer-acht.org> | 2013-01-14 10:28:35 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2013-01-14 10:28:35 +0100 |
commit | 9ddd53051272840328b605a075a9328ce67b5ef1 (patch) | |
tree | fe82c375d703e0ac49a8a222557494a4bd1d87b8 /bin | |
parent | ccf01b3fc68a397f538fd210d4d9716f4ce5e5e3 (diff) | |
download | jenkins.debian.net-9ddd53051272840328b605a075a9328ce67b5ef1.tar.xz |
d-i_parse-logs: warn about outdated builds
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/d-i_parse_logs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/d-i_parse_logs.sh b/bin/d-i_parse_logs.sh index 406e6ba4..82eb6526 100755 --- a/bin/d-i_parse_logs.sh +++ b/bin/d-i_parse_logs.sh @@ -30,6 +30,10 @@ if [ $(grep -c failed $TMPFILE 2>/dev/null ) -gt 1 ] ; then for FILE in $(grep failed $TMPFILE | awk '{print $2}' FS=href= | cut -d '"' -f2) ; do echo Warning: $FILE failed done +elif [ $(grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"|grep -v "See also"|wc -l ) -gt 0 ] ; then + echo "Warning: outdated builds:" + figlet outdated builds + grep buildd $TMPFILE 2>/dev/null|grep -v "$(date +'%b %d')"|grep -v "See also" else figlet ok fi |