Plugin Information
This plugin installs Hudson IRC bot on your choice of IRC channels. You can get notifications via IRC and interact with Hudson via IRC. Note that you also need to install the instant-messaging plugin .
 | Installation Requirements
This plugin needs the instant-messaging plugin. Please ensure that the latest version of this plug-in is also installed. |
Features
See the instant-messaging plugin for a description of protocol-independent features.
IRC-specific features
- support password-protected chatrooms
- support NickServ authentication
Known Issues
- Some people report that the IRC options disappear after upgrading the plugin (see HUDSON-5233 and HUDSON-5128 ). If that happens to you to, try the following workaround:
- Open the file hudson.plugins.ircbot.IrcPublisher.xml in your Hudson home directory.
- change enabled to false: <enabled>false</enabled>
- restart Hudson
- enable IRC plugin in the global configuration and make your changes
Sorry, as I cannot reproduce it, I've currently no clue how to fix this issue.
Changelog
Upcoming
- fixed: disconnects (and no reconnects) when changing the global config (HUDSON-6993)
Version 2.5
- 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)
Version 2.4
- fixed: bot output sometimes send to wrong user (HUDSON-6484)
Version 2.3
- allow to pass build parameters with the build command (HUDSON-5058 ) Make sure that instant-messaging 1.7 or later is installed.
- allow to set NickServ passwords
Version 2.2
- support password-protected chatrooms
Version 2.1
- new option to inform upstream committers (HUDSON-4629 )
- Bot uses /msg command to inform channels/users instead of /notice as before. You can restore the old behaviour in the global configuration. (HUDSON-5087 )
Version 2.0
- This is the first version which is build upon the instant-messaging plugin. Make sure that instant-messaging 1.3 is installed.
- This version needs Hudson 1.319 or newer
- Though much care has been taken to migrate settings from previous versions, because of the amount of the changes it cannot be guaranteed that all old settings are migrated correctly!
- This version supports all options that the Jabber plugin supports. See there for more info.
- Command responses are no longer send as private messages to the user. Instead they are send to the channel. If you want private messages then send the command as a private message to the bot.
Usage
When you install this plugin, your Hudson configuration page gets additional "IRC Notification" option as illustrated below:

In addition, each project should add a "Post-build Actions"> "IRC Notification" configuration as illustrated below:

For the project configuration, leave the Channels blank to default to the channels defined in the master IRC configration.
Comments (7)
Jun 02, 2009
Josh Koenig says:
Any possible support for per-channel passwords?Any possible support for per-channel passwords?
Nov 22, 2009
Christoph Kutzinski says:
Should be possible - the biggest problem is how to make the UI for this. Please,...Should be possible - the biggest problem is how to make the UI for this. Please, create a new issue tracker item for it.
Jan 08, 2010
Daniel Lindner says:
I've begun to write a parser API for 2.X style IRC messages of this plugin. The ...I've begun to write a parser API for 2.X style IRC messages of this plugin. The API can be used to further process the messages, it just extracts the data.
The source code can always be found here: http://github.com/dlindner/hudson.irc.plugin.parser
The first version was created in context of an Open Source Love Day (OSLD): http://schneide.wordpress.com/2009/12/23/open-source-love-day-december-2009/
Jan 12, 2010
Case Taintor says:
I think in the latest upgrade, the "Hudson username" and "Hudson password" field...I think in the latest upgrade, the "Hudson username" and "Hudson password" fields were added (I don't remember them before...). So, when I upgraded, it added two fields to the plugin xml to store this data, but, I never had the chance to set data for that. So, Hudson would just never start up -- its startup process would freeze after joining the IRC room. I eventually started poking around and saw the empty fields and filled them in with some user data, which, fixed my problem. Anyway, someone else is probably having the same problem. The xml file I edited was hudson.plugins.ircbot.IrcPublisher.xml . I have a locked down Hudson, but, haven't had problems with the IRC bot in the past.
Mar 13
Christoph Kutzinski says:
Please use the issue tracker to report bugs! I don't monitor the comments.Please use the issue tracker to report bugs! I don't monitor the comments.
Jan 21, 2010
sisko says:
A feature request ! Support of SSL connections to IRC Servers would be nice ...A feature request !
Mar 13
Christoph Kutzinski says:
Please use the issue tracker to report feature requests! I don't monitor the...Please use the issue tracker to report feature requests! I don't monitor the comments.