History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2521
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Send the html report email addresses

Created: 26/Aug/15 02:36 AM   Updated: 28/Aug/15 02:28 PM
Component/s: None
Affects Version/s: 6.0.21
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
 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

 All   Comments   Work Log   Change History      Sort Order:
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.

Phong Trinh [27/Aug/15 01:20 PM]
I meant is there any way which I can embed the report into email notification?

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" )}

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>")