Ext email plugin to send HTML Junit reports by mail
I used this below code in default content to generate textual Junit test reports. $ {JELLY_SCRIPT, template = "text"} But now I wanted the same in HTML format. I changed content type to HTML and put below code in default content - $ {FILE, path = "index.html"} But I get html code in my email. Where did I miss? Any suggestions..
+3
source to share
3 answers
If you see HTML code in your email, you may need to set the email content type to HTML (text / html).
You can change the default Content Type to HTML (text / html) in Jenkins System Configuration under Extended E-mail Notification
. Alternatively, you can change the content type in the job configuration.
0
source to share