Generate HTML reports on azure DevOps step by step
- Create an Azure DevOps pipeline for your project.
- In the pipeline, add a task to generate the HTML report. This can be done using a task such as “Execute Windows batch command” and running the command to generate the report.
- After the HTML report is generated, add the “Publish Pipeline Artifact” task to publish the HTML files as an artifact.
- In the “Publish Pipeline Artifact” task, specify the path to the HTML files generated in step 2.
- In a subsequent job or stage, use the “Download Pipeline Artifact” task to download the HTML files to the target server.
- configure the task with the appropriate settings and options, such as the location to save the HTML files.
- Run the pipeline to generate and publish the HTML reports.
You can also use the azure pipeline task ‘Publish HTML’ for this purpose, please note that you need to install the plugin first.
Please note that the above are general steps and the exact steps may vary depending on the specific tools and technologies used in your pipeline.