diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-09-27 16:07:23 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-09-27 16:07:23 +0000 |
commit | 1536901281aae0ea99c54f54326e4adfe43f7cbe (patch) | |
tree | 31ba4723546a59d60be3741f47a74944fd7dd85e /scripts | |
parent | 30044ef390c5bce440caa7f9ac5bf27200c0fbb0 (diff) |
try to only mail the lines that actually contain the error
svn path=/trunk/; revision=10313
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/auto-build/run-automated-builder | 4 |
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##*/}" |