Add support for HTML Artifacts/Reports
long-term
U
Unacceptable Guineafowl
Many reports such as coverage, linters, unit tests from various languages, etc use proprietary HTML reports. Harness enables you to upload these reports as artifacts to S3 or similar, but it does not support HTML reports natively. I would like to see this feature make it to Harness similar to https://plugins.jenkins.io/htmlpublisher/ to support additional quality and build reports
Log In
U
Unacceptable Guineafowl
I agree with Dan that these shouldn't be merged. While you can add Coverage reports with custom HTML reports, it is not the same as native coverage reporting in the platform. If you added native coverage reporting (I also upvoted Dan's idea) it unlocks much more reporting and functionality. For example, you can add a dashboard that shows coverage over time by project or fail if coverage has dropped compared to the branch you are merging into
Pranav Rastogi
Unacceptable Guineafowl: Requests split https://ideas.harness.io/continuous-integration/p/native-code-coverage-reporting-in-the-platform
N
Nofar Bluestein
Merged in a post:
Support for Cobertura coverage testing reports
H
Harlequin Harrier
Are there any plans to support Cobertura type reports, such as what comes from Coverage python testing? I have seen support in GitLab and Jenkins and wasn't sure if that was on the roadmap. Working with one customer now that's currently using those and would be nice to natively support them, and ideally, show the code coverage metrics on the testing page.
H
Harlequin Harrier
Sorry, the original ask was to actually support them natively in the UI like the unit testing and security testing, since code coverage is another common type of testing that customers do so you can use one tool to see all your test results.
R
Rose Porpoise
Hello Harlequin Harrier, thanks for submitting this.
Currently Harness does not have support for hosting test coverage artifacts, or displaying test coverage data natively in the UI.
However, it is possible to upload artifacts to your own cloud storage (such as S3, GCS), then provide a link to the file(s) in the "Artifacts" tab in the Harness UI. We have a guide here https://developer.harness.io/tutorials/ci-pipelines/publish/artifacts-tab/
Please let us know if this is an acceptable solution. Thanks!
Pranav Rastogi
long-term
Pranav Rastogi
Thank you for the feedback. Adding support for viewing artifacts within Harness is in our long term roadmap.
For now, you use the following plugins to publish the artifact to S3 and generate a URL which can be shown in the artifacts tab.
S
Salmon Emu
I agree with this wholeheartedly. Our Java microservices include JaCoCo and the current Harness solution (drone-jacoco-s3) is to publish the results to S3 then show a link to the resulting S3 static website URL in order to see the results. We can not expose our code coverage reports publicly. We really need a solution that keeps those results within the Harness environment.