]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23625 support for different version for community build.
authorSteve Marion <steve.marion@sonarsource.com>
Thu, 14 Nov 2024 15:47:42 +0000 (16:47 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 15 Nov 2024 20:02:43 +0000 (20:02 +0000)
Co-authored-by: Alain Kermis <alain.kermis@sonarsource.com>
Co-authored-by: Matteo Mara <matteo.mara@sonarsource.com>
buildSrc/src/main/groovy/org.sonar.build/BlackBoxTest.groovy
gradle.properties
server/sonar-db-dao/build.gradle

index fb4a98596895cd001b63467d018575d74f707a26..6284a251604115720b376f138167abd64ee88b80 100644 (file)
@@ -10,6 +10,7 @@ abstract class BlackBoxTest extends Test {
 
     if (!project.version.endsWith("-SNAPSHOT")) {
       systemProperty 'sonar.runtimeVersion', project.version
+      systemProperty 'sonar.communityRuntimeVersion', project.communityVersion
     }
 
     testLogging {
index 4849068857d5207e6f9092f7cf06e2c1f8717819..0c7139146cb243025230ad39b26fa688c3ae4af2 100644 (file)
@@ -1,5 +1,5 @@
 group=org.sonarsource.sonarqube
-version=10.8
+version=24.11
 # End Of Life date for the version. MMF-3763. format is yyyy-MM-dd
 # 6 months from the release date for non LTA versions
 # 30 months from the release date for LTA versions
index e2785bd783d0088d6c2a274966babe7bff2e8d22..85ef382ae91cb442099b5624300fabf3333f8c8e 100644 (file)
@@ -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) {