diff --git a/its/run-its.sh b/its/run-its.sh index 0a423f0d40..c790aab1bd 100755 --- a/its/run-its.sh +++ b/its/run-its.sh @@ -12,19 +12,18 @@ mvn -N install cd core-integration-testing-plugins mvn install ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT plugins" && exit $ret; fi -) - -( +) && ( cd core-integration-testing-support mvn install ret=$?; if [ $ret != 0 ]; then echo "Failed to install IT support artifacts." && exit $ret; fi -) - -( +) && ( cd core-integration-tests mvn clean test ret=$?; if [ $ret != 0 ]; then exit $ret; fi ) +ret=$? rm -rf "${LOCAL_REPO}" mv "${LOCAL_REPO}.its" "${LOCAL_REPO}" + +exit $ret