aboutsummaryrefslogtreecommitdiffstats
path: root/run-db-unit-tests.sh
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-02-08 15:01:19 +0100
committerDavid Rautureau <david.rautureau@sonarsource.com>2018-03-09 11:33:38 +0100
commit1a17e4302e4b63de6b4ce7c049441803b9471524 (patch)
tree031bcfbf302c7909c5b45a7c31f1bbc00a2fce34 /run-db-unit-tests.sh
parent21fbe3697bdb6e66016ef8d0bea49da574e02e7d (diff)
downloadsonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.tar.gz
sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.zip
Move To Gradle
Diffstat (limited to 'run-db-unit-tests.sh')
-rwxr-xr-xrun-db-unit-tests.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/run-db-unit-tests.sh b/run-db-unit-tests.sh
index 7eea321bbeb..6a3d7eceb9e 100755
--- a/run-db-unit-tests.sh
+++ b/run-db-unit-tests.sh
@@ -4,8 +4,10 @@ set -euo pipefail
ORCHESTRATOR_CONFIG_URL=$1
shift
-mvn verify \
- -pl :sonar-db-core,:sonar-db-migration,:sonar-db-dao \
+./gradlew --no-daemon \
+ :server:sonar-db-core:createDB \
+ :server:sonar-db-core:test \
+ :server:sonar-db-migration:test \
+ :server:sonar-db-dao:test \
-Dorchestrator.configUrl=$ORCHESTRATOR_CONFIG_URL \
- -Dwith-db-drivers \
- -B -e -V $*
+ $*