Comment by
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.
|
Comment by
Phong Trinh
[
27/Aug/15 01:20 PM
]
|
I meant is there any way which I can embed the report into email notification?
|
Comment by
Robin Shen
[
27/Aug/15 11:21 PM
]
|
Sorry for the misunderstanding. Please embed below script in your email notification template:
${util.readFileAsString(build.publishDir.absolutePath + "/relative/path/to/html/report/file" )}
|
Comment by
Phong Trinh
[
28/Aug/15 02:28 PM
]
|
Thank you.
This works for me too: #include("$build.getPublishDir().getAbsolutePath()/html/<Report Folder>/<report_file.html>")
|
Generated at Sat Jun 01 04:37:22 UTC 2024 using JIRA 189.