Fixed the order of tests in parallel build

This commit is contained in:
Marcin Grzejszczak
2017-01-16 14:41:14 +01:00
parent 11c9509a42
commit 9be467ed51
3 changed files with 30 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ source common.sh || source scripts/common.sh || echo "No common.sh script found.
set -e
[[ -z "${CORES}" ]] && CORES=8
[[ -z "${CORES}" ]] && CORES=4
echo -e "\n\nRUNNING PARALLEL BUILD WITH [${CORES}] CORES\n\n"
./mvnw clean install -Pdocs -T ${CORES} && ./mvnw install -Pintegration -T ${CORES} -Dinvoker.parallelThreads=${CORES} -pl :spring-cloud-contract-samples
./mvnw clean install -Pdocs,integration -T ${CORES} -Dinvoker.parallelThreads=${CORES}