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

Sending Rich text mail with Hudson

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Platform: All, OS: All

      We migrated from CruiseControl to Hudson recently and found that it is not able
      to send Rich text email. I checked the Email-Extender plugin but the variables
      provided by it are limiting.

      So I modified the plugin to use Groovy SimpleTemplate to generate the email
      content. A user would set the email content in form of Groovy script through UI.
      To the script the build variable would be exposed as a binding

      Using that one can extract whatever information he is interested in and then
      output it in required form

        1. html-email.txt
          16 kB
          chetan_oct
        2. groovy-email.patch
          8 kB
          Alan Harder
        3. groovy-email2.patch
          8 kB
          ashlux
        4. based_on_2009-09-28.patch
          29 kB
          J. David Beutel
        5. svn-template.html
          6 kB
          J. David Beutel
        6. subject-template.txt
          0.1 kB
          J. David Beutel
        7. svn-template.html
          6 kB
          J. David Beutel
        8. updated_on_2010-02-12.patch
          31 kB
          J. David Beutel
        9. fixed_tests_2010-02-12.patch
          36 kB
          J. David Beutel
        10. html.br.patch
          1.0 kB
          pasams
        11. another_fix_2010-02-19.patch
          36 kB
          J. David Beutel
        12. updated_on_2010-05-07.patch
          37 kB
          J. David Beutel
        13. updated_on_2010-05-18.patch
          37 kB
          J. David Beutel
        14. email-ext-groovy-2010-10-07.diff
          41 kB
          svd
        15. email-ext-groovy-2011-02-16.patch
          41 kB
          vjuranek

            slide_o_mix Alex Earl
            chetan_oct chetan_oct
            Votes:
            42 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: