Jabber Plugin

Plugin Information

Plugin ID jabber
Latest Release 1.23-h-1
Latest Release Date Aug 17, 2012
Sources Github
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

Integrates Hudson with Jabber instant messaging protocol. Note that you also need to install the instant-messaging plugin.
This allows Hudson to send notifications via Jabber, as well as let users talk to Hudson and run commands. 

The Jabber Plugin is now being maintained at the Jenkins site. It should still be compatible with Hudson installs unless otherwise noted.

Features

See instant-messaging plugin.

Connecting to Google Talk

If you have a GMail or Google Mail account, specify the full e-mail address, such as john.smith@gmail.com. If you are a Google App user, specify full e-mail address like john.smith@example.com

NB: if you have a european gmail account, you may need john.smith@googlemail.com

Expand "Advanced settings" and put server address talk.google.com otherwise it won't work.

Known Issues

Debugging Problems

If you experience any problems using the plugin please increase the log level of the logger hudson.plugins.jabber to FINEST (see Logging ), try to reproduce the problem and attach the collected logs to the JIRA issue.

Changelog

Version 1.13

  • new feature: new chat notifier which prints the failing tests, too HUDSON-7035

Version 1.12

  • improvement: bot commands are now extensible and open for other plugins (see class BotCommand).
  • improvement: added an extension point to customize the message the bot sends to chats for notification (see class BuildToChatNotifier).
  • improvement: re-added legacy SSL support (seems like there are still some XMPP servers out there which need it) (HUDSON-6863 )

Version 1.11

  • fixed: disconnects (and no reconnects) when changing the global config (HUDSON-6993)
  • improved behaviour when plugin is disabled. I.e. doesn't log unnecessary stuff.
  • fixed: plugin's configure option not visible HUDSON-5978 HUDSON-5233

Version 1.10

  • fixed: notify upstream commiter would have notified committers of 'old' builds (HUDSON-6712)
  • improvement: print useful project names for matrix jobs (HUDSON-6560 )
  • fixed: don't delay Hudson startup (HUDSON-4346 )
  • feature: userstat command for bot (HUDSON-6147 )
  • fixed: don't count offline computer for the executors count (HUDSON-6387)
  • improvement: print fully qualified Jabber ID in build cause (HUDSON-4970 )

Version 1.9

  • allow to pass build parameters with the build command (HUDSON-5058 )
  • fixed: bot disconnected from conferences when expose presence was false (HUDSON-6101 )

Version 1.8

  • fixed connection problem with eJabberd (HUDSON-6032)
  • fixed connection problem with GoogleTalk (HUDSON-6009, HUDSON-6018)
    • if connection does not out-of-the-box, please disable SASL authentication (new Jabber option under 'Configure System') and try again
  • fixed connection problem with Prosody server (HUDSON-5803)

Version 1.7

ATTENTION again: there seem to be issues authenticating to several Jabber servers with this release. So currently the best option is to stay with Jabber v1.5 and instant-messaging v1.4. Sorry for all the inconvenience!

  • fixed regression introduced in 1.6: old target configurations weren't read correctly (HUDSON-5976)
  • upgrade to Smack library 3.1.0 (HUDSON-5805)
    • ATTENTION: Legacy SSL is no longer supported. If you really need Legacy SSL, you should stay with v1.5 and instant-messaging plugin v1.4.
  • Acceptance mode for subscription requests is now configurable (HUDSON-5836)
    • Attention: this feature is not tested thoroughly, yet

Version 1.6

ATTENTION: there seems to be an issue with reading old configs. I'll publish a fixed version shortly!

  • compatibility with instant-messaging plugin 1.5

Version 1.5

  • new option to inform upstream committers (HUDSON-4629 )

Version 1.4

  • compatibility with instant-messaging plugin 1.3
  • some very minor issues

Version 1.3

  • fixed: NullPointerException if plugin was disabled in global config

Version 1.2

  • fixed wrong order of Hudson credentials [HUDSON-4721 ]

Version 1.1

  • works in secured Hudson instances if you specify a username and password for the Jabber bot
  • new !comment command which adds a description to builds
  • show dependency to instant-messaging plugin in update center description (D'oh, that didn't work as expected. Hope it will in 1.2)
  • this version needs Hudson 1.319 or higher

Version 1.0

  • This is the first release which is based on the Instant Messaging Plugin
    • Make sure that the instant messaging plugin is installed, too
    • ATTENTION: Although much care has been taken to make this version compatible with 0.11 it cannot be guaranteed that all configuration options can be migrated successfully!
  • enable/disable checkbox [HUDSON-2495
  • made reconnection logic more robust
  • fixed status not going back to 'available' after build finishes (again) [HUDSON-4337]

Version 0.11

  • fixed per-job configuration display
  • fixed jabber user-property not being visible
  • command aliases in bot
  • fixed status not going back to 'available' after build finishes [HUDSON-4337]
  • option to inform 'culprits' on subsequent build failures

Version 0.10

  • fixed infinite loop if previous build was aborted [HUDSON-4290]
  • plugin's Jabber status changes based on Hudson's busy state [HUDSON-620]
  • fixed handling of single quotes [HUDSON-3215]
  • started refactoring to split-out protocol independent part in a shareable plugin

Version 0.9

  • automatic reconnect on lost connections
  • new notification strategy: "failures and fixes"
  • default suffix for Jabber IDs. When entered, Jabber IDs can be inferred from Hudson user ids
    I.e. Jabber ID = <hudson_id><extension> (issue #1527)
  • 'botsnack' command massively improved
  • 'status' command can show all jobs for a view (-v <view>)
  • new 'health' command
  • bot now also works in 1-on-1 chat (issue 4057)
  • lots of refactorings and code clean up

Version 0.8

  • Two new commands are added: "!testresult" and "!abort"

Version 0.7

  • URL Encoding in messages for SCM suspects (issue #2693)
  • Add legacy SSL support and alternate nickname for group-chat (issue #2699)
  • Jobs with spaces can now be launched via messages (issue #2700)

Version 0.6

  • Notification for maven builds

Version 0.5

  • Updated to work with Hudson 1.218.
  • Fix for url encoding (issue #909)

0.4 (2007/11/22)

  • Organized the configuration screen for gradual exposure to details.
  • The plugin now works with Google Talk. (issue #1021)
  • Improved help documentation.
  • Fixed NPE when no initial group chat is configured.

Labels:

plugin-trigger plugin-trigger Delete
plugin-notifier plugin-notifier Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Dec 18, 2007

    Hans L'Hoest says:

    Setting in Hudson admin for jabber ( for my gmail account) that did not result i...

    Setting in Hudson admin for jabber ( for my gmail account) that did not result in an error when saving:

    server: talk.google.com

    port: 5222

    login: "gmail login" -> without 'gmail.com' (specifying full gmail address did not work)

  2. Oct 12, 2009

    Hiroki Kondo says:

    I upgraded from v0.11 to v1.0, then it is stopped to launch Jabber Plugin. I rea...

    I upgraded from v0.11 to v1.0, then it is stopped to launch Jabber Plugin.
    I read my hudson log, there are some errors about plug-in dependency.
    Does this plug-in depends Instant Messenger Plugin now?
    I installed Instant Messenger Plugin, and restart my hudson, it is fine to launch.
    Is this correct?

    1. Oct 11, 2009

      Christoph Kutzinski says:

      Yes, that's what the changelog says.

      Yes, that's what the changelog says.

      1. Oct 12, 2009

        Hiroki Kondo says:

        OK. But I was confused when I upgraded at update center on my Hudson. Could you ...

        OK. But I was confused when I upgraded at update center on my Hudson.
        Could you write about the dependency at update center?

  3. Nov 22, 2009

    John Rodriguez says:

    Hello, First, kudos on the jabber plugin, it has become an essential part of ou...

    Hello,

    First, kudos on the jabber plugin, it has become an essential part of our hudson set-up. Second, is there a problem with the latest version of the jabber plugin? I have not been able to upgrade to the the latest version of Hudson (as of today v1.335) because the jabber plugin does not work with this version of Hudson; therefore, i am always forced to roll-back to version 1.328. Any thoughts/suggestions? Thank you kindly.

    1. Nov 23, 2009

      Christoph Kutzinski says:

      I'm not running 1.335 and its difficult to say what might be the problem without...

      I'm not running 1.335 and its difficult to say what might be the problem without any further information. Please open a new issue with a description of 'what does not work' mean and any additional information (e.g. log file, stacktrace)

      thanks

      1. Nov 23, 2009

        John Rodriguez says:

        My apologies, I realize that "does not work" is not very descriptive; I will nee...

        My apologies, I realize that "does not work" is not very descriptive; I will need to reproduce the issue and i will get all the pertinent information so that i can open a proper issue with all the info. Thanks!

        1. Nov 23, 2009

          Christoph Kutzinski says:

          FYI: I shortly tried it with 1.335 and didn't see any problems.Do you have the c...

          FYI: I shortly tried it with 1.335 and didn't see any problems.Do you have the corresponding version of the instant-messaging plugin installed?

          BTW: I'll release a new version of the plugins later today - no big changes for the Jabber plugin though.

          1. Dec 06, 2009

            John Rodriguez says:

            BTW, I apologize but I was not able to upgrade my hudson until today; installing...

            BTW, I apologize but I was not able to upgrade my hudson until today; installing the im plugin did the trick. I have upgraded to hudson v1.336 with the new jabber plugin and the im plugin and I have no issues. Thanks for pointing that out and keep up the good work!

  4. Jul 07, 2010

    wwiles says:

    Hi, Upgraded to 1.10 and now getting in the log: WARNING: SASL authentication f...

    Hi,

    Upgraded to 1.10 and now getting in the log:
    WARNING: SASL authentication failed using mechanism PLAIN:
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:325)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:395)
    at hudson.plugins.jabber.im.transport.JabberIMConnection.createConnection(JabberIMConnection.java:236)
    at hudson.plugins.jabber.im.transport.JabberIMConnection.connect(JabberIMConnection.java:124)
    at hudson.plugins.jabber.im.transport.JabberIMConnectionProvider.createConnection(JabberIMConnectionProvider.java:43)
    at hudson.plugins.im.IMConnectionProvider.create(IMConnectionProvider.java:57)

    Thanks,
    Wade

    1. Jul 08, 2010

      Christoph Kutzinski says:

      Please try the "disable SASL authentication" checkbox. Also, please use the issu...

      Please try the "disable SASL authentication" checkbox. Also, please use the issue tracker to report bugs and/or the mailing list to ask questions.

  5. Sep 18, 2010

    David Ringhofer says:

    For me the plugin only excepts the first command from the chat and than stays si...

    For me the plugin only excepts the first command from the chat and than stays silent.

    e.g. right after hudson starts up and the Jabber plugin connects, the contact shows up on Jabber, when it joins the chat and I send "!help" it responds, but the second time I write a command it jus doesn't react.