diff --git a/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy b/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy index cdcde1bc7..2a7b7e5af 100644 --- a/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy +++ b/job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/publisher/PublisherContext.groovy @@ -388,7 +388,7 @@ class PublisherContext extends AbstractExtensibleContext { publisherNodes << new NodeBuilder().'hudson.plugins.jabber.im.transport.JabberPublisher' { delegate.targets { targets.split().each { target -> - boolean isGroup = target.startsWith('*') + boolean isGroup = target.startsWith('*') || target.contains('@conference.') if (isGroup) { String targetClean = target[1..-1] 'hudson.plugins.im.GroupChatIMMessageTarget' {