brett 2005/04/13 04:28:50
Modified: . ci.sh Log: re-run on failure Revision Changes Path 1.39 +7 -1 maven-components/ci.sh Index: ci.sh =================================================================== RCS file: /home/cvs/maven-components/ci.sh,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- ci.sh 20 Sep 2004 05:13:19 -0000 1.38 +++ ci.sh 13 Apr 2005 11:28:50 -0000 1.39 @@ -36,6 +36,11 @@ # ---------------------------------------------------------------------------------- +BUILD_REQUIRED=false +if [ -f $HOME_DIR/build_required ]; then + BUILD_REQUIRED=`cat $HOME_DIR/build_required` +fi + export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic ( @@ -78,7 +83,7 @@ if [ "$?" = "1" ] then - echo "false" > $HOME_DIR/build_required + echo $BUILD_REQUIRED > $HOME_DIR/build_required else @@ -145,6 +150,7 @@ echo "" >> log echo "Distribution:" >> log echo "${DEPLOY_SITE}/${DIST}" >>log + rm $HOME_DIR/build_required fi echo "" >> log echo "Log:" >> log