Build a complete Azure DevOps CI pipeline for .NET with restore, build, test, TRX results, code coverage, SonarQube analysis, and published artifacts.
In this video, I walk through a practical YAML pipeline for a .NET solution that restores dependencies, builds the projects, runs tests, collects TRX logs, publishes code coverage, integrates SonarQube, and outputs artifacts for both a library and a web application.
0:00 - Introduction
0:12 - Description
2:26 - Sample Library
4:14 - Sample Web
5:27 - Build Pipeline Setup
14:46 - Build General Tests
25:47 - Build Library
28:26 - Build Web
31:15 - Conclusion
This tutorial is useful if you want a single Azure DevOps pipeline that gives you build validation, test visibility, coverage reporting, and package or deployment artifacts in one place.
Azure Pipelines supports publishing code coverage results produced in Cobertura or JaCoCo format, and .NET test workflows commonly publish TRX results back into the pipeline summary for easier review.
SonarQube also supports .NET test coverage reporting, which is why adding it to the pipeline is a strong next step when you want both build validation and quality analysis in the same workflow.
#AzureDevOps #DotNet #SonarQube
Follow me on X: https://l.samayas.eu/jo3eaYEf3E?P=YT&...
Buy me a Coffee: https://l.samayas.eu/jX6xL7EWhd?P=YT&...
Studio Equipment
Camera Sony Alpha ZV-E10 II: https://l.samayas.eu/k7y90TREl0?P=YT&...
Secondary Camera Obsbot Tail Air: https://l.samayas.eu/iFQu9WfmCw?P=YT&...
Elgato Prompter: https://l.samayas.eu/fHVrqqXtSc?P=YT&...
Microphone Rode Wireless GO II: https://l.samayas.eu/afBINjiBXN?P=YT&...