diff options
author | David Rautureau <david.rautureau@sonarsource.com> | 2018-02-08 15:01:19 +0100 |
---|---|---|
committer | David Rautureau <david.rautureau@sonarsource.com> | 2018-03-09 11:33:38 +0100 |
commit | 1a17e4302e4b63de6b4ce7c049441803b9471524 (patch) | |
tree | 031bcfbf302c7909c5b45a7c31f1bbc00a2fce34 /run-db-unit-tests.sh | |
parent | 21fbe3697bdb6e66016ef8d0bea49da574e02e7d (diff) | |
download | sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.tar.gz sonarqube-1a17e4302e4b63de6b4ce7c049441803b9471524.zip |
Move To Gradle
Diffstat (limited to 'run-db-unit-tests.sh')
-rwxr-xr-x | run-db-unit-tests.sh | 10 |
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 $* + $* |