Issue
How do I email a html report generated in a job build (located in workspace) in an email notification?
I also want to ensure that the html report is embedded in the email body.
Environment
- CloudBees Jenkins Enterprise
- Email-ext Plugin
Resolution
In Post-build actions - Editable Email Notification
- Ensure Content Type is set to html.
- In Default Content add
${FILE,path="my.html"}
. Replacemy.html
with your html file. Path is workspace relative.
1 Comments