From: thierry Date: Wed, 18 Apr 2007 13:52:07 +0000 (+0000) Subject: change the way the success/broken status is shown : touch ${BUILD}.ok or .broken X-Git-Tag: foo~490 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=40586c1ce7ac7006cc13299b4184ed3a3a4db3e2;p=infrastructure.git change the way the success/broken status is shown : touch ${BUILD}.ok or .broken --- diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh index cdca2b7..2a617ee 100755 --- a/scripts/nightly-build.sh +++ b/scripts/nightly-build.sh @@ -26,6 +26,7 @@ EOF # Notify recipient of failure function failure() { + touch ${BUILD}.broken if [ -n "$MAILTO" ] ; then tail -c 8k ${BUILD}/log-build.txt | mail -s "Failures for ${BUILD}" $MAILTO fi @@ -33,7 +34,7 @@ function failure() { } function success () { - touch ${BUILD}/log-success.stamp + touch ${BUILD}.ok if [ -n "$MAILTO" ] ; then (echo "http://build.one-lab.org/$DISTRO/$BASE" ; echo "Completed on $(date)" ) | mail -s "Successfull build in ${BUILD}" $MAILTO fi