use of com.sonar.orchestrator.config.Configuration in project sonar-scanner-jenkins by SonarSource.
the class JenkinsOrchestratorBuilder method build.
public JenkinsOrchestrator build() {
Configuration.Builder configBuilder = Configuration.builder();
Configuration finalConfig = configBuilder.addConfiguration(config).addMap(overriddenProperties).build();
String version = getJenkinsVersion();
Preconditions.checkState(!Strings.isNullOrEmpty(version), "Missing Jenkins version");
this.distribution.setVersion(version);
return new JenkinsOrchestrator(finalConfig, distribution);
}
Aggregations