iptables branch 1.4.1.1 is not referenced any more
[build.git] / vbuild-nightly.sh
index 207e387..22c90ae 100755 (executable)
@@ -139,6 +139,7 @@ function failure() {
            echo "See full build log at $WEBBASE_URL/log.txt" ; \
            echo "and tail version at $WEBBASE_URL.ko" ; \
            echo "See complete set of testlogs at $WEBBASE_URL/testlogs" ; \
+           echo "........................................" ; \
            webpublish tail --lines=1000 $WEBLOG ) | \
            sendmail $MAILTO
     fi
@@ -176,7 +177,7 @@ function success () {
            echo "$PLDISTRO ($BASE) build for $FCDISTRO completed on $(date)" ; \
            echo "See full build log at $WEBBASE_URL/log.txt" ; \
             [ -n "$DO_TEST" ] && echo "See complete set of testlogs at $WEBBASE_URL/testlogs" ) \
-           | mail $MAILTO
+           | sendmail $MAILTO
     fi
     # XXX For some reason, we haven't been getting this email for successful builds. If this sleep
     # doesn't fix the problem, I'll remove it -- Sapan.
@@ -288,6 +289,7 @@ function run_log () {
     webpublish_rsync_dir /vservers/$BASE/build/testlogs/ $WEBPATH/$BASE/testlogs/
 
     if [ -z "$success" ] ; then
+       echo "Tests have failed - bailing out"
        failure
     fi