Html Reports (blakyaks.azure-pipeline-html-reports)An Azure DevOps extension that provides a task for publishing HTML formatted reports onto build and release pages. Using the extensionIn order to see a report tab you must use the
Example YAML use
Limitations and known issuesHTML file compatibilityDue to the way this extension works, we recommend that any HTML files published operate as entirely self-contained, single page reports. External links or style sheets that are embedded in HTML files may not function within the Azure DevOps UI due to CORS restrictions. It is also not possible to use relative links in HTML reports that are published via the extension since these will not resolve to the build artifacts in Azure DevOps. Anchor links should work as expected. Large HTML reportsVery large reports (e.g. greater than 50MB) may cause the task to exhaust the default Node memory allocation (as per this reported issue), leading to the task failing and not uploading the report as an attachment. In order to work around this issue it may be necessary to add an additional step in your pipelines before the publish task is executed:
Note that large reports will also take an extended time to load in the UI and should be avoided where possible by breaking down the reports into smaller units. DevelopmentBuild InstructionsTo build the extension locally, run the following commands:
This will compile the source code, package the extension, and create a VSIX file that can be installed in Azure DevOps. AcknowledgmentsSpecial thanks to the BlakYaks team for their significant contributions to this project. This repository has incorporated many valuable improvements from the blakyaks/azure-pipeline-html-reports fork, including Node.js 20 support, modern dependency updates, and various UI/UX enhancements. Their work has been instrumental in keeping this extension current and feature-rich. Changelogv1.3.0
v1.2.1
v1.2.0
v1.1.1This version patches the AwardedSolutions release and is now maintained for future support purposes. The BlakYaks release supports Node 16 and Node 20 runners, removing the deprecation notice displayed during pipeline runs. Task names and inputs were maintained to simplify update from previous releases.
|