o add the execution of the integration tests to the end of the run.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162764 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-06-16 03:28:50 +00:00
parent 4948f63c70
commit 83de9d058b
1 changed files with 23 additions and 2 deletions

25
ci.sh
View File

@ -17,7 +17,7 @@
export JAVA_HOME=/usr/local/java export JAVA_HOME=/usr/local/java
export MBOOT_HOME=$HOME/mboot export MBOOT_HOME=$HOME/mboot
export M2_HOME=$HOME/maven export M2_HOME=$HOME/m2
export PATH=$PATH:$MBOOT_HOME:$M2_HOME/bin:$JAVA_HOME/bin export PATH=$PATH:$MBOOT_HOME:$M2_HOME/bin:$JAVA_HOME/bin
# ---------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------
@ -28,7 +28,7 @@ CMD=$1
HOME_DIR=`pwd` HOME_DIR=`pwd`
DATE=`date` DATE=`date`
DIR=m2 DIR=m2-build
REPO=maven-repo-local REPO=maven-repo-local
FROM=jvanzyl@maven.org FROM=jvanzyl@maven.org
#TO=maven2-user@lists.codehaus.org #TO=maven2-user@lists.codehaus.org
@ -144,6 +144,27 @@ export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
BUILD_REQUIRED=`cat $HOME_DIR/build_required` BUILD_REQUIRED=`cat $HOME_DIR/build_required`
## Build the verifier
(
cd $DIR/maven-components/maven-core-it-verifier
mboot
)
(
cd $DIR/maven-components/maven-core-it
echo
echo "Running maven-core integration tests ..."
echo ""
./maven-core-it.sh
) >> log 2>&1
# Only send mail to the list if a build was required. # Only send mail to the list if a build was required.
if [ "$BUILD_REQUIRED" = "true" ] if [ "$BUILD_REQUIRED" = "true" ]