From 02f499b51bcf8a681fb2acfadc8c88c8e4dd4f9d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 31 May 2018 13:57:24 +0200 Subject: SONAR-10690 upgrade orchestrator to support editions --- server/sonar-db-core/src/test/java/org/sonar/db/CreateDb.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/sonar-db-core/src') diff --git a/server/sonar-db-core/src/test/java/org/sonar/db/CreateDb.java b/server/sonar-db-core/src/test/java/org/sonar/db/CreateDb.java index b448b25fa87..25ec3a62482 100644 --- a/server/sonar-db-core/src/test/java/org/sonar/db/CreateDb.java +++ b/server/sonar-db-core/src/test/java/org/sonar/db/CreateDb.java @@ -26,10 +26,13 @@ import org.apache.commons.lang.StringUtils; import java.io.File; +import static com.sonar.orchestrator.container.Edition.COMMUNITY; + public class CreateDb { public static void main(String[] args) { OrchestratorBuilder builder = Orchestrator.builderEnv(); + builder.setEdition(COMMUNITY); String version = System.getProperty("sonar.runtimeVersion"); if (StringUtils.isEmpty(version)) { File zip = FileLocation.byWildcardMavenFilename(new File("../../sonar-application/build/distributions"), "sonar-application-*.zip").getFile(); -- cgit v1.2.3