aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-generator
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2020-11-23 20:51:55 +0100
committersonartech <sonartech@sonarsource.com>2020-11-26 20:06:29 +0000
commita8ec651e57d21bacfe7bfdd32f2f6a79ad1d5359 (patch)
tree748742cc21872c9a217b5743224363aea32a74a6 /sonar-ws-generator
parent6e18f97ab530ffc932b1b2a2888e31e112b4be96 (diff)
downloadsonarqube-a8ec651e57d21bacfe7bfdd32f2f6a79ad1d5359.tar.gz
sonarqube-a8ec651e57d21bacfe7bfdd32f2f6a79ad1d5359.zip
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.
Diffstat (limited to 'sonar-ws-generator')
-rw-r--r--sonar-ws-generator/src/main/java/org/sonarqube/wsgenerator/ApiDefinitionDownloader.java3
1 files changed, 2 insertions, 1 deletions
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");