aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-09-11 18:39:27 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-09-11 18:39:27 +0200
commit0d57ce7853c35d7b6c502bd4b1c3284dafc41371 (patch)
tree049eba39c22f35a6deb5e9eca06dacc980ae3ca2 /sonar-batch
parent77b9a13434344be895a495fcf0eabe77edf10baf (diff)
downloadsonarqube-0d57ce7853c35d7b6c502bd4b1c3284dafc41371.tar.gz
sonarqube-0d57ce7853c35d7b6c502bd4b1c3284dafc41371.zip
SONAR-2603 provide a dedicated page to generate server id
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/ServerMetadata.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/ServerMetadata.java b/sonar-batch/src/main/java/org/sonar/batch/ServerMetadata.java
index 6415c9e01e1..97dae9df62f 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/ServerMetadata.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/ServerMetadata.java
@@ -63,7 +63,7 @@ public class ServerMetadata extends Server {
}
@Override
- public String getKey() {
- return conf.getString(CoreProperties.SERVER_KEY);
+ public String getPermanentServerId() {
+ return conf.getString(CoreProperties.PERMANENT_SERVER_ID);
}
}