Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5031

instant-messaging plugin notifications with custom messages

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I was looking to configure IRC plug-in on Hudson with custom notification messages (i.e. code metrics (ex: test results, coverage detail and findbug info) )instead of posting simply build URL.

      I didn't found any advanced configuration set up as part of IRC plug-in, is there any way to configure custom messages via IRC notifications ?

        Attachments

          Issue Links

            Activity

            Hide
            kutzi kutzi added a comment -

            No, there is currently no way to do this.

            I doubt that I'll find the time to implement this feature in the near future, but could you nevertheless elaborate a little more about what options you would like to have and how the configuration should look like?

            Show
            kutzi kutzi added a comment - No, there is currently no way to do this. I doubt that I'll find the time to implement this feature in the near future, but could you nevertheless elaborate a little more about what options you would like to have and how the configuration should look like?
            Hide
            seanf Sean Flanigan added a comment -

            Something along the lines of Editable Email Notification would be handy:

            http://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin

            Specifically, the token substitution mechanism would allow for wordy or concise messages to be configured for each job.

            Show
            seanf Sean Flanigan added a comment - Something along the lines of Editable Email Notification would be handy: http://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin Specifically, the token substitution mechanism would allow for wordy or concise messages to be configured for each job.
            Hide
            kutzi kutzi added a comment - - edited

            Note: since instant-messaging 1.10 (Jabber 1.12, IRCBot 2.7) you can extend the plugin with your own 'BuildToChatNotifier'

            Show
            kutzi kutzi added a comment - - edited Note: since instant-messaging 1.10 (Jabber 1.12, IRCBot 2.7) you can extend the plugin with your own 'BuildToChatNotifier'
            Hide
            dpk Daniel Khodaparast added a comment -

            Do you have a guide for doing the self-extension of our own "BuildToChatNotifier" for this? Some of us aren't that adept at doing modifications on that level yet.

            I've been staring at this for a few hours and think I have a general idea of what is involved, but a guide would help everyone.

            Show
            dpk Daniel Khodaparast added a comment - Do you have a guide for doing the self-extension of our own "BuildToChatNotifier" for this? Some of us aren't that adept at doing modifications on that level yet. I've been staring at this for a few hours and think I have a general idea of what is involved, but a guide would help everyone.
            Hide
            hashar Antoine Musso added a comment - - edited

            For what it is worth, the messages are defined in: src/main/resources/hudson/plugins/im/build_notify/Messages.properties

            SummaryOnlyBuildToChatNotifier.Summary=Project {0} build {1}: {2} in {3}: {4}
            SummaryOnlyBuildToChatNotifier.BuildIsFixed=Yippee, build fixed!\n
            SummaryOnlyBuildToChatNotifier.StartMessage=Starting build {0} for job {1}
            

            I would love an option to at least disable the BuildIsFixed message. The two other messages should be changeable in the interface, probably globally and on a per job basis. The Summary message shows the job URL which already contains the job name and build number, not much point in repeating them.

            Show
            hashar Antoine Musso added a comment - - edited For what it is worth, the messages are defined in: src/main/resources/hudson/plugins/im/build_notify/Messages.properties SummaryOnlyBuildToChatNotifier.Summary=Project {0} build {1}: {2} in {3}: {4} SummaryOnlyBuildToChatNotifier.BuildIsFixed=Yippee, build fixed!\n SummaryOnlyBuildToChatNotifier.StartMessage=Starting build {0} for job {1} I would love an option to at least disable the BuildIsFixed message. The two other messages should be changeable in the interface, probably globally and on a per job basis. The Summary message shows the job URL which already contains the job name and build number, not much point in repeating them.
            Hide
            ssbarnea Sorin Sbarnea added a comment -

            Is there a way to disable the "Yippee, build fixed" message completely? It drives me crazy to see so much spam as the real info is in the next line.

            Show
            ssbarnea Sorin Sbarnea added a comment - Is there a way to disable the "Yippee, build fixed" message completely? It drives me crazy to see so much spam as the real info is in the next line.

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                keshureddyp keshureddyp
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: