From 2ef084aea656c5b6c33bdbd66e8e68fbd2e572f5 Mon Sep 17 00:00:00 2001 From: mary-georgiou-sonarsource Date: Fri, 17 Mar 2023 14:17:37 +0100 Subject: [PATCH 1/2] revert SQ temporarily to dev --- its/src/test/java/com/sonar/it/shared/Tests.java | 2 +- its/src/test/java/com/sonar/it/vbnet/Tests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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")) From 14b743153273c0fdf210aa9acfe019ee444a86a7 Mon Sep 17 00:00:00 2001 From: mary-georgiou-sonarsource Date: Fri, 17 Mar 2023 14:37:16 +0100 Subject: [PATCH 2/2] change to latest in CSharp ITs --- its/src/test/java/com/sonar/it/csharp/Tests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))