]> source.dussan.org Git - sonarqube.git/commitdiff
Update orchestrator version to 3.34
authorJacek <jacek.poreda@sonarsource.com>
Mon, 23 Nov 2020 19:51:55 +0000 (20:51 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 26 Nov 2020 20:06:29 +0000 (20:06 +0000)
By default this version is disabling force authentication for 8.6 and greater.
Also it allows to enable default behaviour, which will be used.

build.gradle
sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java

index 6beb1293b2639aee286020f03d3eb479cfd286cd..767692f9a90885b0427466cf44181f9bd3131b14 100644 (file)
@@ -368,7 +368,7 @@ subprojects {
       dependency 'org.postgresql:postgresql:42.2.17'
       dependency 'org.reflections:reflections:0.9.12'
       dependency 'org.simpleframework:simple:4.1.21'
-      dependency 'org.sonarsource.orchestrator:sonar-orchestrator:3.32.0.2670'
+      dependency 'org.sonarsource.orchestrator:sonar-orchestrator:3.34.0.2692'
       dependency 'org.sonarsource.update-center:sonar-update-center-common:1.23.0.723'
       dependency 'org.subethamail:subethasmtp:3.1.7'
       dependency 'org.yaml:snakeyaml:1.26'
index 4659f739206cfa7a4f5c6b3d5f034ed6d3778522..b68d2f6077cc01d99e0b8c1c75c397cbf69a647a 100644 (file)
@@ -35,7 +35,8 @@ public class ApiDefinitionDownloader {
   }
 
   public static String downloadApiDefinition() {
-    OrchestratorBuilder builder = Orchestrator.builderEnv();
+    OrchestratorBuilder builder = Orchestrator.builderEnv()
+      .defaultForceAuthentication();
     builder.setEdition(COMMUNITY);
     builder.setZipFile(FileLocation.byWildcardMavenFilename(new File("../sonar-application/build/distributions"), "sonar-application-*.zip").getFile())
       .setOrchestratorProperty("orchestrator.workspaceDir", "build");