Search code examples
buildazure-devopsvisualizationdevopsdashboard

What are the options to visualize code metrics from Azure DevOps build?


I have set up a build pipeline Azure DevOps, which builds the project, runs the MSTests and generates code coverage report as well as code analysis metrics results.

How do I get these results to a dashboard such as Power BI or any similar? What are the different visualization options from Azure DevOps?

I know adding a widget and getting the visualization in a Azure DevOps dashboard, but looking for an option where I can publish the results, also see the historic code metrices, and drill down to each class level results.


Solution

  • I got the metrics xml files to a blob storage from the pipeline and then added the blob storage as data source to power BI. Did necessary transformations in Power BI and published the report to PowerBI dashboard which gave me required report and made it accessible to people in the organization.