aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main/src/main
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-04-15 10:43:02 -0500
committersonartech <sonartech@sonarsource.com>2022-04-21 20:02:50 +0000
commit3b11814268cb11ebcaa7a4c231d2bdb642122518 (patch)
treef13f6b78fd2b0fd33e6c4dd42c6b3fa618191bc4 /server/sonar-main/src/main
parentb2b5d2819ab9d8bc1804641762d6f397c605a582 (diff)
downloadsonarqube-3b11814268cb11ebcaa7a4c231d2bdb642122518.tar.gz
sonarqube-3b11814268cb11ebcaa7a4c231d2bdb642122518.zip
SONAR-16232 Fix version metadata
Diffstat (limited to 'server/sonar-main/src/main')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/config/SonarQubeVersionHelper.java2
-rw-r--r--server/sonar-main/src/main/resources/sonarqube-version.txt1
2 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/config/SonarQubeVersionHelper.java b/server/sonar-main/src/main/java/org/sonar/application/config/SonarQubeVersionHelper.java
index d87776999c5..c2bd53147cf 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/config/SonarQubeVersionHelper.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/config/SonarQubeVersionHelper.java
@@ -27,7 +27,7 @@ import java.nio.charset.StandardCharsets;
import static java.lang.String.format;
public class SonarQubeVersionHelper {
- private static final String SONARQUBE_VERSION_PATH = "/sonarqube-version.txt";
+ private static final String SONARQUBE_VERSION_PATH = "/sq-version.txt";
private static String sonarqubeVersion;
diff --git a/server/sonar-main/src/main/resources/sonarqube-version.txt b/server/sonar-main/src/main/resources/sonarqube-version.txt
deleted file mode 100644
index 6b7ce460f25..00000000000
--- a/server/sonar-main/src/main/resources/sonarqube-version.txt
+++ /dev/null
@@ -1 +0,0 @@
-${buildVersion}