summaryrefslogtreecommitdiff
path: root/src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2014-05-06 22:03:39 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2014-05-06 22:03:39 +0200
commit7e2d2c074c3f09266dda31c772f4bec61e8d5742 (patch)
treeceda3ff6e8f0fc968915adb5c94afe2b783ddbea /src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy
parent5c762750101f12abd51621355a871e42fd9c7a33 (diff)
downloadactivemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.gz
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.bz2
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.tar.xz
activemq-plugin-7e2d2c074c3f09266dda31c772f4bec61e8d5742.zip
o Support for listening on messages too.
o Configurable topic name.
Diffstat (limited to 'src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy')
-rw-r--r--src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy b/src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy
index 7c5cae3..13ef396 100644
--- a/src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy
+++ b/src/main/resources/org/jenkinsci/plugins/activemq/ActiveMqGlobalConfig/config.groovy
@@ -1,5 +1,7 @@
package org.jenkinsci.plugins.activemq.ActiveMqGlobalConfig
+import org.jenkinsci.plugins.activemq.ActiveMqGlobalConfig;
+
def f=namespace(lib.FormTagLib)
f.section(title:_("ActiveMQ Configuration")) {
@@ -9,6 +11,9 @@ f.section(title:_("ActiveMQ Configuration")) {
f.entry(title:_("Broker URL"), field:"brokerUrl") {
f.textbox()
}
+ f.entry(title:_("Topic Name"), field:"topicName") {
+ f.textbox(default: ActiveMqGlobalConfig.DEFAULT_TOPIC_NAME)
+ }
// f.entry(title:_("URL"), field:"url") {
// f.textbox(default: "my url")
// }