You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/02/28 16:30:32 UTC

svn commit: r381672 - /lenya/zone/bin/nightly-trunk.sh

Author: andreas
Date: Tue Feb 28 07:30:29 2006
New Revision: 381672

URL: http://svn.apache.org/viewcvs?rev=381672&view=rev
Log:
Added tests to nightly trunk script

Modified:
    lenya/zone/bin/nightly-trunk.sh

Modified: lenya/zone/bin/nightly-trunk.sh
URL: http://svn.apache.org/viewcvs/lenya/zone/bin/nightly-trunk.sh?rev=381672&r1=381671&r2=381672&view=diff
==============================================================================
--- lenya/zone/bin/nightly-trunk.sh (original)
+++ lenya/zone/bin/nightly-trunk.sh Tue Feb 28 07:30:29 2006
@@ -114,6 +114,16 @@
    sendMsg "$subject" "$weblog" "$message"
    exit 1
  fi
+echo "#tests" >> $logfile 2>&1
+./build.sh test >> $logfile 2>&1
+ check=`cat $logfile|grep "BUILD FAILED"`
+ echo "statusCheck=$check" >> $logfile
+ if [ -n "$check" ]; then
+   subject="[lenya.trunk.update] lenya-trunk tests failed"
+   message="Please resolve possible conflicts by hand login into the zone server and looking at  /export/home/lenya/src/lenya-trunk"
+   sendMsg "$subject" "$weblog" "$message"
+   exit 1
+ fi
 echo "#starting" >> $logfile 2>&1
 ./lenya.sh servlet >> $logfile 2>&1 &
 echo $! > /export/home/lenya/bin/lenya-trunk.pid



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org