mirror of https://github.com/apache/maven.git
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:
parent
0c305115a6
commit
f7b602b387
8
ci.sh
8
ci.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue