From: thierry Date: Mon, 12 Nov 2007 14:38:42 +0000 (+0000) Subject: publishes weblog whatever happens X-Git-Tag: foo~384 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4eae4746971af03e123d8f2007dd682d77fb2706;p=infrastructure.git publishes weblog whatever happens --- diff --git a/scripts/nightly-build-vserver.sh b/scripts/nightly-build-vserver.sh index abe0c69..2c3abb3 100755 --- a/scripts/nightly-build-vserver.sh +++ b/scripts/nightly-build-vserver.sh @@ -300,11 +300,17 @@ function main () { cp $myplcs $webpath # warning : need ssh in the vserver + set +e if [ -n "$DO_TEST" ] ; then + ok="" runtest + [ "$?" = 0 ] && ok="true" + cp $LOG $weblog + [ -z "$ok" ] && failure fi success + else LOG=/build/build-log.txt if [ -n "$DO_BUILD" ] ; then