aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-09-27 16:07:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-09-27 16:07:23 +0000
commit1536901281aae0ea99c54f54326e4adfe43f7cbe (patch)
tree31ba4723546a59d60be3741f47a74944fd7dd85e /scripts
parent30044ef390c5bce440caa7f9ac5bf27200c0fbb0 (diff)
try to only mail the lines that actually contain the error
svn path=/trunk/; revision=10313
Diffstat (limited to 'scripts')
-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##*/}"