From a6212abec811389cb4a56636b989915135c4b008 Mon Sep 17 00:00:00 2001 From: mary-georgiou-sonarsource Date: Tue, 21 Mar 2023 10:08:12 +0100 Subject: [PATCH] Revert "Revert "Use the LATEST_RELEASE version of SQ in the plugin ITs (temporary) (#6950)"" This reverts commit a36e5a58dfd828f4415d2bd7d89a5155419bc2ea. --- 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"))