aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/auto-build/run-automated-builder4
1 files changed, 3 insertions, 1 deletions
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##*/}"