Files
spring-cloud-contract/scripts/parallelBuild.sh
Marcin Grzejszczak 11c9509a42 Fixed the parallel build
first we need to build the libs and ony then run the integration tests
2017-01-16 13:37:06 +01:00

10 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
set -e
[[ -z "${CORES}" ]] && CORES=8
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