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

Add pre-send step to email-ext that can modify the mail message object

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When the Email-Ext plugin is used in conjunction with the Claim plugin there is no way to configure a project's email options to only send to the one who has claimed it. This results in every person on a team receiving emails for a build they did not break, turning Jenkins emails into something annoying instead of something useful. For someone who knew the code this would be a pretty easy feature to add. And while this would be a good feature, I think a more elaborate solution that would allow Email-ext plugin users to access/modify all parts of the email message (including who the message is being sent to) would be more useful in the long run. Giving users access to all parts of the email message and the option to run a Groovy script after the email has been built, but before the email has been sent would satisfy this feature request and would make the Email-Ext plugin much more versatile.

        Attachments

          Issue Links

            Activity

            Hide
            mabahj Markus added a comment -

            Thank you very much, Chris. Your script works perfectly!

            Show
            mabahj Markus added a comment - Thank you very much, Chris. Your script works perfectly!
            Hide
            slide_o_mix Alex Earl added a comment -

            There is already a jira filed by Xavier Nodet.

            Show
            slide_o_mix Alex Earl added a comment - There is already a jira filed by Xavier Nodet.
            Hide
            cnogradi Chris Nogradi added a comment -

            Ah - yes we are - I'll keep an eye out and report if we observe it again.

            Show
            cnogradi Chris Nogradi added a comment - Ah - yes we are - I'll keep an eye out and report if we observe it again.
            Hide
            slide_o_mix Alex Earl added a comment -

            Are you on the latest version of email-ext? I made some mods that should resolve this.

            Show
            slide_o_mix Alex Earl added a comment - Are you on the latest version of email-ext? I made some mods that should resolve this.
            Hide
            cnogradi Chris Nogradi added a comment -

            Oh and I suppose I should mention that we occasionally receive emails from Jenkins with the an email title specifying a project which is different from the body of the email so I think there is a bug in this code that is either caused by not locking a shared resource or a cache value is not flushed properly.

            Show
            cnogradi Chris Nogradi added a comment - Oh and I suppose I should mention that we occasionally receive emails from Jenkins with the an email title specifying a project which is different from the body of the email so I think there is a bug in this code that is either caused by not locking a shared resource or a cache value is not flushed properly.

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                terrylwesterhold terryl westerhold
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: