re-run on failure

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-13 11:28:50 +00:00
parent 0c305115a6
commit f7b602b387
1 changed files with 7 additions and 1 deletions

8
ci.sh
View File

@ -36,6 +36,11 @@ export MESSAGE=${MESSAGE_DIR}/${MESSAGE_NAME}
# ----------------------------------------------------------------------------------
BUILD_REQUIRED=false
if [ -f $HOME_DIR/build_required ]; then
BUILD_REQUIRED=`cat $HOME_DIR/build_required`
fi
export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
(
@ -78,7 +83,7 @@ export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
if [ "$?" = "1" ]
then
echo "false" > $HOME_DIR/build_required
echo $BUILD_REQUIRED > $HOME_DIR/build_required
else
@ -145,6 +150,7 @@ then
echo "" >> log
echo "Distribution:" >> log
echo "${DEPLOY_SITE}/${DIST}" >>log
rm $HOME_DIR/build_required
fi
echo "" >> log
echo "Log:" >> log