From 40586c1ce7ac7006cc13299b4184ed3a3a4db3e2 Mon Sep 17 00:00:00 2001 From: thierry Date: Wed, 18 Apr 2007 13:52:07 +0000 Subject: [PATCH] change the way the success/broken status is shown : touch ${BUILD}.ok or .broken --- scripts/nightly-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.0