From 1536901281aae0ea99c54f54326e4adfe43f7cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 27 Sep 2008 16:07:23 +0000 Subject: try to only mail the lines that actually contain the error svn path=/trunk/; revision=10313 --- scripts/auto-build/run-automated-builder | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/auto-build/run-automated-builder') diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder index 656fb65a..f96608c6 100755 --- a/scripts/auto-build/run-automated-builder +++ b/scripts/auto-build/run-automated-builder @@ -15,7 +15,9 @@ SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'` SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'` mailbody_on_failure () { - tail -20 ${LOGFILE} + ## this is a somewhat simplistic expression to detect error-lines + cat ${LOGFILE} | grep " error: " | tail -20 +# tail -20 ${LOGFILE} echo "" echo "the full logfile can be viewed at" echo "http://autobuild.puredata.info/auto-build/${DATE}/logs/${LOGFILE##*/}" -- cgit v1.2.1