aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-29 22:21:58 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-08-03 17:57:17 +0200
commit17f3a477fd6119172c89057acb80693af21c5ae6 (patch)
tree32ecaba4d5b431b8ce95da9b193b0f313d2e0d70 /server/sonar-process
parent0b2c0f53b5dafce8453a8a0203f595d9bba44a6f (diff)
downloadsonarqube-17f3a477fd6119172c89057acb80693af21c5ae6.tar.gz
sonarqube-17f3a477fd6119172c89057acb80693af21c5ae6.zip
SONAR-7909 support sonar.cluster.ce.disabled
Diffstat (limited to 'server/sonar-process')
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
index 49f26c79ab0..583a1254123 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
@@ -32,6 +32,7 @@ public class ProcessProperties {
public static final String CLUSTER_MASTER_HOST = "sonar.cluster.masterHost";
public static final String CLUSTER_NAME = "sonar.cluster.name";
public static final String CLUSTER_NODE_NAME = "sonar.node.name";
+ public static final String CLUSTER_CE_DISABLED = "sonar.cluster.ce.disabled";
public static final String JDBC_URL = "sonar.jdbc.url";
public static final String JDBC_DRIVER_PATH = "sonar.jdbc.driverPath";
@@ -99,6 +100,7 @@ public class ProcessProperties {
Map<String, String> defaults = new HashMap<>();
defaults.put(ProcessProperties.CLUSTER_NAME, "sonarqube");
defaults.put(ProcessProperties.CLUSTER_NODE_NAME, "sonar-" + System.currentTimeMillis());
+ defaults.put(ProcessProperties.CLUSTER_CE_DISABLED, "false");
defaults.put(ProcessProperties.SEARCH_HOST, "127.0.0.1");
defaults.put(ProcessProperties.SEARCH_JAVA_OPTS, "-Xmx1G -Xms256m -Xss256k -Djna.nosys=true " +