blob: 74f765f764b162ed71759b94dbd5d9a4694dbd39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
# the source dir where this script is
SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'`
. $SCRIPT_DIR/auto-build-common
# the name of this script
SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
for logfile in `ls -1 /var/www/auto-build/${DATE}/logs/${DATE}_*_mingw*.txt`; do
completion_test=`tail -1 ${logfile}`
if [ "x${completion_test}" != "xSUCCESS" ]; then
SUBJECT="autobuild: $distro $HOSTNAME $DATE $TIME"
# tail -20 ${logfile} | mail -s "autobuild: $logfile" ${RECIPIENT}
tail -20 ${logfile} | mail -s "autobuild: $logfile" hans@eds.org
fi
done
|