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. email-ext-groovy-2011-02-16.patch
          41 kB
        2. email-ext-groovy-2010-10-07.diff
          41 kB
        3. updated_on_2010-05-18.patch
          37 kB
        4. updated_on_2010-05-07.patch
          37 kB
        5. another_fix_2010-02-19.patch
          36 kB
        6. html.br.patch
          1.0 kB
        7. fixed_tests_2010-02-12.patch
          36 kB
        8. subject-template.txt
          0.1 kB
        9. svn-template.html
          6 kB
        10. updated_on_2010-02-12.patch
          31 kB
        11. based_on_2009-09-28.patch
          29 kB
        12. svn-template.html
          6 kB
        13. groovy-email2.patch
          8 kB
        14. groovy-email.patch
          8 kB
        15. html-email.txt
          16 kB

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

              Created:
              Updated:
              Resolved: