Attach HTML file to build report, it won't open in browser
I'm generating an HTML file during my build and attaching it to my build results. When I open the file from the downloads page it opens in a plain text editor instead of an HTML browser (plain text editor is NOT my default for .html files)
How can I get the file to open in a browser? build snippet (removed tags for forum code): artifactFilePublisher repositoryAddress="${repositoryAddress}" userId="${jazz.user.id}" password="${jazz.user.passwd}" buildResultUUID="${buildResultUUID}" contentType="text/html" failOnError="false" verbose="true" filePath="${file.path}" label="${file.description}" on the build report the file shows text/html and UTF-8 |
2 answers
Ralph Schoon (63.7k●3●36●48)
| answered Apr 26 '12, 4:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
it is treated as attached file. So you can't. The following articles described a solution that can help here https://jazz.net/library/article/797 https://jazz.net/library/article/807 |
Thanks for the tip. For any others watching this topic, using linkPublisher made more sense than using artifactLinkPublisher. Setting up Apache per the article #797 was trivial. Thanks again!
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.