aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSteve Marion <steve.marion@sonarsource.com>2024-11-14 16:47:42 +0100
committersonartech <sonartech@sonarsource.com>2024-11-15 20:02:43 +0000
commit6cc3297dc0645e1eae7609d4a2d8179f93d5d55d (patch)
tree370d607516f12787a1e10f23901a3a4f81d33239 /server
parent33adcc5d22a6f4a43de1fa7469d4eb10450e92f4 (diff)
downloadsonarqube-6cc3297dc0645e1eae7609d4a2d8179f93d5d55d.tar.gz
sonarqube-6cc3297dc0645e1eae7609d4a2d8179f93d5d55d.zip
SONAR-23625 support for different version for community build.
Co-authored-by: Alain Kermis <alain.kermis@sonarsource.com> Co-authored-by: Matteo Mara <matteo.mara@sonarsource.com>
Diffstat (limited to 'server')
-rw-r--r--server/sonar-db-dao/build.gradle7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle
index e2785bd783d..85ef382ae91 100644
--- a/server/sonar-db-dao/build.gradle
+++ b/server/sonar-db-dao/build.gradle
@@ -68,9 +68,10 @@ task createDB(type:JavaExec) {
mainClass = 'org.sonar.db.createdb.CreateDb'
classpath = sourceSets.test.runtimeClasspath
systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl')
- if (!project.version.endsWith("-SNAPSHOT")) {
- systemProperty 'sonar.runtimeVersion', project.version
- }
+ if (!project.version.endsWith("-SNAPSHOT")) {
+ systemProperty 'sonar.runtimeVersion', project.version
+ systemProperty 'sonar.communityRuntimeVersion', project.version
+ }
}
task populateDB(type: JavaExec) {