|
|
|
[
Permlink
| « Hide
]
Robin Shen [21/Jan/14 12:05 AM]
QB does not publish files under builds/html directly, also it does not publish files referred from index.html automatically unless they are contained in the directory you specified when you define the html publish step. Can you please show me how your artifact and html publishing steps are defined? And what contents is inside the original directory being published?
Root folder containing logs and html: test-results/
Artifact step: -directory: test-results -files to publish: *.log -destination: test-results Html step: -directory: test-results -files to publish: *.log and *.html (to avoid broken links) -start page: index.html I know you could remove in html step the log files to publish, resulting in broken links. We want to be able to access them in both html and artifacts way. This can be done by modifying html links in your index.html to point to various log in this way:
../../artifacts/a.log ../../artifacts/b.log Then you only need to publish log files in artifact publishing step.
I don't agree with modifying the HTML report, because if a developer would run locally then he will not have the separation between artifacts and html directory and both files will live next to each other. What is added value on QB side to make separation of directories?
We separate html reports from artifacts as it is often desirable to have different reports for a build, which can not suited well directly in artifacts window.
Oke make sense, but in my view creating a tailored HTML report only for QuickBuild need is also not desirable. You would like to have transparency between report generated on local development machine and CI report generated.
Reopen this issue.
QB should be able to be enhanced to define html reports to show files in artifacts directory directly, in addition to the ability to publish a separate html report directory.
|