aboutsummaryrefslogtreecommitdiffstats
path: root/quick-build.sh
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-14 11:14:10 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-16 13:21:23 +0100
commitdc740d716b371cf8e017df0c37ea4d8f45ae0734 (patch)
tree8404cc224b22d6cd19ccfcee5ee1bd1298022f49 /quick-build.sh
parent0b25cac89ed71c37bea0d76866ddedf12c5dfdf5 (diff)
downloadsonarqube-dc740d716b371cf8e017df0c37ea4d8f45ae0734.tar.gz
sonarqube-dc740d716b371cf8e017df0c37ea4d8f45ae0734.zip
Speed-up build
Diffstat (limited to 'quick-build.sh')
-rwxr-xr-xquick-build.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/quick-build.sh b/quick-build.sh
index e819d73c139..f28c3838008 100755
--- a/quick-build.sh
+++ b/quick-build.sh
@@ -38,4 +38,7 @@ echo ''
echo ''
echo ''
-mvn clean install -e -DskipTests -Pdev $*
+# Parallel executions of maven modules and tests.
+# Half of CPU core are used in to keep other half for OS and other programs.
+
+mvn clean install -T0.5C -B -e -DskipTests=true -Pdev $*