From 9bb1fc8fe42975df08a7f8a9b35fce589942eaf8 Mon Sep 17 00:00:00 2001 From: Mary Georgiou <89914005+mary-georgiou-sonarsource@users.noreply.github.com> Date: Fri, 17 Mar 2023 16:12:20 +0100 Subject: [PATCH] Use the LATEST_RELEASE version of SQ in the plugin ITs (temporary) (#6950) --- its/src/test/java/com/sonar/it/csharp/Tests.java | 2 +- its/src/test/java/com/sonar/it/shared/Tests.java | 2 +- its/src/test/java/com/sonar/it/vbnet/Tests.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/its/src/test/java/com/sonar/it/csharp/Tests.java b/its/src/test/java/com/sonar/it/csharp/Tests.java index bb3e2fb24ef..72b9ea1fb8b 100644 --- a/its/src/test/java/com/sonar/it/csharp/Tests.java +++ b/its/src/test/java/com/sonar/it/csharp/Tests.java @@ -78,7 +78,7 @@ public class Tests { @ClassRule public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv() .useDefaultAdminCredentialsForBuilds(true) - .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "DEV"))) + .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "LATEST_RELEASE"))) .addPlugin(TestUtils.getPluginLocation("sonar-csharp-plugin")) // Do not add VB.NET here, use shared project instead .setEdition(Edition.DEVELOPER) .restoreProfileAtStartup(FileLocation.of("profiles/no_rule.xml")) diff --git a/its/src/test/java/com/sonar/it/shared/Tests.java b/its/src/test/java/com/sonar/it/shared/Tests.java index c8ea5c39638..d5bb881d444 100644 --- a/its/src/test/java/com/sonar/it/shared/Tests.java +++ b/its/src/test/java/com/sonar/it/shared/Tests.java @@ -50,7 +50,7 @@ public class Tests { @ClassRule public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv() .useDefaultAdminCredentialsForBuilds(true) - .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "DEV"))) + .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "LATEST_RELEASE"))) .addPlugin(TestUtils.getPluginLocation("sonar-csharp-plugin")) .addPlugin(TestUtils.getPluginLocation("sonar-vbnet-plugin")) // ScannerCliTest: Fixed version for the HTML plugin as we don't want to have failures in case of changes there. diff --git a/its/src/test/java/com/sonar/it/vbnet/Tests.java b/its/src/test/java/com/sonar/it/vbnet/Tests.java index 15607b132be..d86cb7d86cd 100644 --- a/its/src/test/java/com/sonar/it/vbnet/Tests.java +++ b/its/src/test/java/com/sonar/it/vbnet/Tests.java @@ -60,7 +60,7 @@ public class Tests { @ClassRule public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv() .useDefaultAdminCredentialsForBuilds(true) - .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "DEV"))) + .setSonarVersion(TestUtils.replaceLtsVersion(System.getProperty("sonar.runtimeVersion", "LATEST_RELEASE"))) .addPlugin(TestUtils.getPluginLocation("sonar-vbnet-plugin")) // Do not add C# here, use shared project instead .restoreProfileAtStartup(FileLocation.of("profiles/vbnet_no_rule.xml")) .restoreProfileAtStartup(FileLocation.of("profiles/vbnet_class_name.xml"))