<< Back to previous view

[QB-2521] Send the html report email addresses
Created: 26/Aug/15  Updated: 28/Aug/15

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 6.0.21
Fix Version/s: None

Type: Task Priority: Major
Reporter: Phong Trinh Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
 Hi support team,

 Is there any way which I can send html report which I published in QB to email addresses via notification?

 Thank you,
ptrinh

 Comments   
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 Thu May 16 10:40:11 UTC 2024 using JIRA 189.