diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-11-16 11:25:45 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-11-16 20:21:07 +0100 |
commit | f0914d867925175d0d30977a9b70f15fe0586d42 (patch) | |
tree | 9da0369a4059e68075767345c2642b7bb9a1f14a /server/sonar-db-core | |
parent | ca4d00d3d8c058d9a1aa61b9b99e81ffb4405062 (diff) | |
download | sonarqube-f0914d867925175d0d30977a9b70f15fe0586d42.tar.gz sonarqube-f0914d867925175d0d30977a9b70f15fe0586d42.zip |
Do not consider postgres unit tests as skipped in SQ analysis
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r-- | server/sonar-db-core/build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-db-core/build.gradle b/server/sonar-db-core/build.gradle index 03861dfcd76..e0cd63bf72d 100644 --- a/server/sonar-db-core/build.gradle +++ b/server/sonar-db-core/build.gradle @@ -46,7 +46,9 @@ task createDB(type:JavaExec) { main = 'org.sonar.db.CreateDb' classpath = sourceSets.test.runtimeClasspath systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl') - systemProperty 'sonar.runtimeVersion', project.version + if (!project.version.endsWith("-SNAPSHOT")) { + systemProperty 'sonar.runtimeVersion', project.version + } } test { |