]> source.dussan.org Git - sonarqube.git/commitdiff
Revert "SONAR-3529 Remove test properties"
authorDavid Gageot <david@gageot.net>
Mon, 1 Oct 2012 14:59:51 +0000 (16:59 +0200)
committerDavid Gageot <david@gageot.net>
Mon, 1 Oct 2012 16:18:26 +0000 (18:18 +0200)
This reverts commit fc8416951d7a5c9d94cb59371f1e9515cc7e5d81.

plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java

index 11899dfbb6be24ac89d9784e0d4c96372ffba7d4..e10206e7952b0648bc159cdeec7f10c8c988d302 100644 (file)
@@ -24,6 +24,7 @@ import org.sonar.api.CoreProperties;
 import org.sonar.api.Extension;
 import org.sonar.api.Properties;
 import org.sonar.api.Property;
+import org.sonar.api.PropertyField;
 import org.sonar.api.PropertyType;
 import org.sonar.api.SonarPlugin;
 import org.sonar.api.checks.NoSonarFilter;
@@ -122,6 +123,22 @@ import java.util.List;
     project = false,
     global = true,
     category = CoreProperties.CATEGORY_GENERAL),
+  @Property(
+    key = "sonar.test.jira.servers",
+    name = "Jira Servers",
+    global = true,
+    project = true,
+    category = "DEV",
+    fields = {
+      @PropertyField(
+        key = "url",
+        name = "Url",
+        description = "l'url du serveur jira",
+        type = PropertyType.STRING),
+      @PropertyField(
+        key = "port",
+        name = "Port",
+        type = PropertyType.INTEGER)}),
   @Property(
     key = "sonar.test.jira",
     name = "Jira",