From a8ec651e57d21bacfe7bfdd32f2f6a79ad1d5359 Mon Sep 17 00:00:00 2001 From: Jacek Date: Mon, 23 Nov 2020 20:51:55 +0100 Subject: Update orchestrator version to 3.34 By default this version is disabling force authentication for 8.6 and greater. Also it allows to enable default behaviour, which will be used. --- .../main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-ws-generator/src') diff --git a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java index 4659f739206..b68d2f6077c 100644 --- a/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java +++ b/sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java @@ -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"); -- cgit v1.2.3