From 17835aec90279e65c8cfc612b64fe4e0a1c83fb3 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Mon, 24 Mar 2008 17:18:25 +0000 Subject: [PATCH] avoid script to continue if one step fails git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@640470 13f79535-47bb-0310-9956-ffa450edef68 --- its/run-its.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/its/run-its.sh b/its/run-its.sh index c790aab1bd..b69bb51a5e 100755 --- a/its/run-its.sh +++ b/its/run-its.sh @@ -6,9 +6,8 @@ echo "Using $LOCAL_REPO ..." mv "${LOCAL_REPO}" "${LOCAL_REPO}.its" -mvn -N install - -( +mvn -N install \ +&& ( cd core-integration-testing-plugins mvn install ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT plugins" && exit $ret; fi