Search in sources :

Example 1 with Configuration

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);
}
Also used : Configuration(com.sonar.orchestrator.config.Configuration)

Aggregations

Configuration (com.sonar.orchestrator.config.Configuration)1