aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh3
-rwxr-xr-xpush.sh6
-rwxr-xr-xquick-build.sh4
-rwxr-xr-xstart-mac-h2.sh5
4 files changed, 10 insertions, 8 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 00000000000..5527fa3055e
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+mvn clean install $*
diff --git a/push.sh b/push.sh
index 8268fa99eac..ff7feb0052c 100755
--- a/push.sh
+++ b/push.sh
@@ -38,8 +38,8 @@ git clone --single-branch -slb "${BRANCH}" . ../privatebuild
cd ../privatebuild
# Build with maven
-set MAVEN_OPTS=-Xmx1G
-mvn -T4 install -Pdev -DskipSanityChecks=false
+set MAVEN_OPTS=-Xmx256m
+mvn -T4 clean install
if [ $? -ne 0 ]; then
exit_ko "Unable to build"
fi
@@ -52,4 +52,4 @@ fi
# Update working directory
cd ${LOCATION} && git fetch ${REMOTE}
-exit_ok "Yet another successful build!" \ No newline at end of file
+exit_ok "Yet another successful build!"
diff --git a/quick-build.sh b/quick-build.sh
index c80553145e7..99ce9771d2f 100755
--- a/quick-build.sh
+++ b/quick-build.sh
@@ -30,8 +30,8 @@ echo ' u$$$uuu$$$$$$$$$uu ""$$$$$$$$$$$uuu$$$'
echo ' $$$$$$$$$$"""" ""$$$$$$$$$$$"'
echo ' "$$$$$" ""$$$$""'
echo ' $$$" $$$$"'
-
-
+echo ''
+echo ''
echo ' TESTS ARE DISABLED'
echo ' ARE U CRAZY ?'
echo ''
diff --git a/start-mac-h2.sh b/start-mac-h2.sh
index f05914489ba..dd18ba60f03 100755
--- a/start-mac-h2.sh
+++ b/start-mac-h2.sh
@@ -1,8 +1,7 @@
#!/bin/sh
-#
-# NOTE: sonar must be built
-#
+# Shortcut to start server. It must be already built.
+
cd sonar-application/target/
unzip sonarqube-*.zip
cd sonarqube-*