use of com.sonar.orchestrator.OrchestratorBuilder in project sonarqube by SonarSource.
the class PluginsTest method startServer.
@BeforeClass
public static void startServer() {
OrchestratorBuilder builder = Orchestrator.builderEnv().setZipFile(byWildcardMavenFilename(new File("../../sonar-application/target"), "sonar*.zip").getFile());
// FIXME JSON plugin is temporarily disabled as for the moment the github repo doesn't exist anymore installPlugin(builder, "JSON");;
installPlugin(builder, "Sonargraph");
installPlugin(builder, "abap");
installPlugin(builder, "aemrules");
installPlugin(builder, "android");
installPlugin(builder, "authbitbucket");
installPlugin(builder, "authgithub");
installPlugin(builder, "checkstyle");
installPlugin(builder, "clover");
installPlugin(builder, "cobol");
installPlugin(builder, "codecrackercsharp");
installPlugin(builder, "cpp");
installPlugin(builder, "csharp");
// FIXME css plugin is temporarily disabled as for the moment incompatible with the web plugin installPlugin(builder, "css");
// FIXME erlang plugin is temporarily disabled because it is not compatible with SQ 6.4 until usage of Colorizer API is removed
// FIXME findbugs plugin is temporarily disabled because it is not compatible with SQ 6.4 until usage of Colorizer API is removed
installPlugin(builder, "flex");
installPlugin(builder, "github");
installPlugin(builder, "googleanalytics");
installPlugin(builder, "groovy");
installPlugin(builder, "java");
// FIXME javaProperties plugin is temporarily disabled as for the moment the github repo doesn't exist anymore installPlugin(builder, "javaProperties");
installPlugin(builder, "javascript");
installPlugin(builder, "jdepend");
installPlugin(builder, "l10nde");
installPlugin(builder, "l10nel");
installPlugin(builder, "l10nes");
installPlugin(builder, "l10nfr");
installPlugin(builder, "l10nit");
installPlugin(builder, "l10nja");
installPlugin(builder, "l10nko");
installPlugin(builder, "l10npt");
installPlugin(builder, "l10nru");
installPlugin(builder, "l10nzh");
installPlugin(builder, "ldap");
installPlugin(builder, "lua");
installPlugin(builder, "php");
installPlugin(builder, "pitest");
installPlugin(builder, "pli");
installPlugin(builder, "plsql");
installPlugin(builder, "pmd");
// FIXME puppet plugin is temporarily disabled because it is not compatible with SQ 6.4 until usage of Colorizer API is removed
installPlugin(builder, "python");
installPlugin(builder, "rci");
installPlugin(builder, "rpg");
installPlugin(builder, "scmclearcase");
installPlugin(builder, "scmcvs");
installPlugin(builder, "scmgit");
installPlugin(builder, "scmjazzrtc");
installPlugin(builder, "scmmercurial");
installPlugin(builder, "scmperforce");
installPlugin(builder, "scmsvn");
installPlugin(builder, "scmtfvc");
installPlugin(builder, "softvis3d");
installPlugin(builder, "sonargraphintegration");
installPlugin(builder, "status");
installPlugin(builder, "swift");
installPlugin(builder, "vb");
installPlugin(builder, "vbnet");
installPlugin(builder, "web");
installPlugin(builder, "xanitizer");
installPlugin(builder, "xml");
activateLicenses(builder);
ORCHESTRATOR = builder.build();
ORCHESTRATOR.start();
}
use of com.sonar.orchestrator.OrchestratorBuilder in project sonarqube by SonarSource.
the class UpgradeTest method startDevServer.
private void startDevServer() {
OrchestratorBuilder builder = Orchestrator.builderEnv().setZipFile(FileLocation.byWildcardMavenFilename(new File("../../sonar-application/target"), "sonar*.zip").getFile()).setOrchestratorProperty("orchestrator.keepDatabase", "true").setOrchestratorProperty("javaVersion", LATEST_JAVA_RELEASE).addPlugin("java").setStartupLogWatcher(log -> log.contains("Database must be upgraded"));
orchestrator = builder.build();
orchestrator.start();
initSelenide(orchestrator);
}
use of com.sonar.orchestrator.OrchestratorBuilder in project sonarqube by SonarSource.
the class UpgradeTest method startOldVersionServer.
private void startOldVersionServer(Version sqVersion, boolean keepDatabase) {
OrchestratorBuilder builder = Orchestrator.builderEnv().setSonarVersion(sqVersion.toString()).setOrchestratorProperty("orchestrator.keepDatabase", String.valueOf(keepDatabase)).setOrchestratorProperty("javaVersion", "3.14").addPlugin("java").setStartupLogWatcher(log -> log.contains("Process[web] is up"));
orchestrator = builder.build();
orchestrator.start();
initSelenide(orchestrator);
}
Aggregations