|
|
|
[
Permlink
| « Hide
]
Robin Shen [27/Aug/15 12:10 AM]
You may attach the html report just like you attach artifacts/logs. However a better approach would be to customize the email notification template to include link to html report.
I meant is there any way which I can embed the report into email notification?
Sorry for the misunderstanding. Please embed below script in your email notification template:
${util.readFileAsString(build.publishDir.absolutePath + "/relative/path/to/html/report/file" )} Thank you.
This works for me too: #include("$build.getPublishDir().getAbsolutePath()/html/<Report Folder>/<report_file.html>") |