Files
spring-cloud-contract/scripts/parallelBuild.sh
2017-01-16 14:41:14 +01:00

10 lines
295 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=4
echo -e "\n\nRUNNING PARALLEL BUILD WITH [${CORES}] CORES\n\n"
./mvnw clean install -Pdocs,integration -T ${CORES} -Dinvoker.parallelThreads=${CORES}