-
Bug
-
Resolution: Fixed
-
Major
-
None
-
not environment specific
When using publishJabber('individual@server', 'ALL', 'Default'), the generated config is:
<hudson.plugins.im.GroupChatIMMessageTarget>
<name>individual@server</name>
</hudson.plugins.im.GroupChatIMMessageTarget>
whereas it should be:
<hudson.plugins.im.DefaultIMMessageTarget>
<value>individual@server</value>
</hudson.plugins.im.DefaultIMMessageTarget>
This results in the individual being treated as a target group chat, and the notification is never received (plus there's a nasty stacktrace in the build log)
Here's a Pull request that fixes the issue:
https://github.com/jenkinsci/job-dsl-plugin/pull/206