mirror of https://github.com/apache/maven.git
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
This commit is contained in:
parent
e7087db955
commit
17835aec90
|
@ -6,9 +6,8 @@ echo "Using $LOCAL_REPO ..."
|
||||||
|
|
||||||
mv "${LOCAL_REPO}" "${LOCAL_REPO}.its"
|
mv "${LOCAL_REPO}" "${LOCAL_REPO}.its"
|
||||||
|
|
||||||
mvn -N install
|
mvn -N install \
|
||||||
|
&& (
|
||||||
(
|
|
||||||
cd core-integration-testing-plugins
|
cd core-integration-testing-plugins
|
||||||
mvn install
|
mvn install
|
||||||
ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT plugins" && exit $ret; fi
|
ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT plugins" && exit $ret; fi
|
||||||
|
|
Loading…
Reference in New Issue