|
|
|
[
Permlink
| « Hide
]
Phong Trinh [21/Oct/20 10:03 PM]
This works fine for me. I made a small adjustment for using the report which was published to the server in one of the steps. Thank you very much.
Thank you very much, Robin. I am going to give this a try and will keep you informed.
Assume you want to include index.html in workspace into email notification:
#set($htmlPathRelativeToWorkspace = "/index.html" ) #set($htmlPath = "$configuration.workspaceDir.absolutePath$htmlPathRelativeToWorkspace" ) #if ($util.getFile($htmlPath).exists()) $util.readFileAsString($util.getFile($htmlPath)) #end Thank you for promptly response, Robin. I would like to embed just contents of the .html report.
Do you want to embed full content of html report including style into email notification template? If so, it will require iframe which will not be allowed by most email clients.
|