• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ircbot-plugin
    • None
    • Hudson 1.351
      Windows 2000
      Tomcat 5.5
      Java 1.6.01 JDK

      I installed the IRC plugin a few days ago and configured it for my environment and customized each build's config appropriately, and the IRC bot does connect to my IRC Server (and for a bit everything worked perfectly), however, somewhere along the way the configurations for each build got lost and I don't have the options on their individual configuration screens any longer. The configuration for the IRC client under the Manage Hudson > Configure System is also missing, however, the bot does connect to the server still (but doesn't do anything because each build's configuration is missing). When looking at the Manage Hudson > Manage Plugins > Installed it does show that Hudson IRC plugin is installed.

      Installed Plugins:
      http://screencast.com/t/NzA0MGE2ZDk

      Example project missing IRC options:
      http://screencast.com/t/YWU3YzdlO

      IRC Channel - Hudson is online:
      http://screencast.com/t/YzJiMzAxNWMt

          [JENKINS-5978] IRC Configurations Not Available

          rshelley created issue -

          rshelley added a comment -

          I deleted the hudson.plugins.ircbot.IrcPublisher.xml file and restarted Hudson and had my options back. Not sure if the issue will happen again though...

          rshelley added a comment - I deleted the hudson.plugins.ircbot.IrcPublisher.xml file and restarted Hudson and had my options back. Not sure if the issue will happen again though...

          kutzi added a comment -

          You didn't do any upgrade to the ircbot plugin?

          kutzi added a comment - You didn't do any upgrade to the ircbot plugin?

          kutzi added a comment -

          YOu have by any chance a copy of hudson.plugins.ircbot.IrcPublisher.xml before you deleted it - and compared it to the current one?

          kutzi added a comment - YOu have by any chance a copy of hudson.plugins.ircbot.IrcPublisher.xml before you deleted it - and compared it to the current one?

          ickersep added a comment -

          I have the same problem. After manually deleting all lines with references to ircbot in the config files, removing the plugin files (plugins/ircbot*) and reinstalling the plugin the config page listed the IRC Notification again. I filled in the information (which resulted in exactly the same hudson.plugins.ircbot.IrcPublisher.xml file as before) and the ircbot worked. But after the next restart of Hudson the IRC Notification section was gone again. The ircbot still works, but there's no way I can configure it now

          ickersep added a comment - I have the same problem. After manually deleting all lines with references to ircbot in the config files, removing the plugin files (plugins/ircbot*) and reinstalling the plugin the config page listed the IRC Notification again. I filled in the information (which resulted in exactly the same hudson.plugins.ircbot.IrcPublisher.xml file as before) and the ircbot worked. But after the next restart of Hudson the IRC Notification section was gone again. The ircbot still works, but there's no way I can configure it now

          rshelley added a comment -

          I did upgrade, but after the problem started, thinking the upgrade would fix it. So the old one is the one from 2.1, and the new config file is 2.2.

          Screenshot of old and new config files diffed:
          http://screencast.com/t/YTA5YzFhZDQ

          rshelley added a comment - I did upgrade, but after the problem started, thinking the upgrade would fix it. So the old one is the one from 2.1, and the new config file is 2.2. Screenshot of old and new config files diffed: http://screencast.com/t/YTA5YzFhZDQ

          ickersep added a comment -

          If I enable the IRC notification in the global configuration page it works. But as soon as I enable it for any project it no longer works after a restart.

          ickersep added a comment - If I enable the IRC notification in the global configuration page it works. But as soon as I enable it for any project it no longer works after a restart.

          ickersep added a comment -

          Manually editing the project's config.xml file and deleting the <targets> element helps - the configuration appears after a restart.

          By the way, it doesn't matter if I add a channel in the project's configuration or not, in both cases the configuration disappears after a restart.

          ickersep added a comment - Manually editing the project's config.xml file and deleting the <targets> element helps - the configuration appears after a restart. By the way, it doesn't matter if I add a channel in the project's configuration or not, in both cases the configuration disappears after a restart.

          rshelley added a comment -

          I can confirm that after a restart, the configuration options for both Hudson and individual projects has once again disappeared, yet the client does still connect to IRC. However, I haven't had a failed build yet today, so I don't know if it will notify in the channel or not.

          Also to note, other plugins have been installed and configured after IRC and their configurations show up ok, so it seems isolated.

          rshelley added a comment - I can confirm that after a restart, the configuration options for both Hudson and individual projects has once again disappeared, yet the client does still connect to IRC. However, I haven't had a failed build yet today, so I don't know if it will notify in the channel or not. Also to note, other plugins have been installed and configured after IRC and their configurations show up ok, so it seems isolated.

          ickersep added a comment -

          After enabling it for all my projects and then manually editing them, it no longer works Very strange.

          ickersep added a comment - After enabling it for all my projects and then manually editing them, it no longer works Very strange.

            kutzi kutzi
            rshelley rshelley
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: