Azure Pipeline Generate Report

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Scanner command used: Sonar Analysis
  • Languages of the repository: YAML

We currently are running our SonarQube Analysis Scans in our pipelines. I am looking for help generating a report of the scan and we can publish the output as a file to the pipeline as an artifact. Is there any ADO Tasks, or API calls we can make for this?

Hi,

Welcome to the community!

The Enterprise plan offers what we’ve called a regulatory report, which is a complete rundown of the analysis. There’s no automatic download functionality, but you could script grabbing it with the AIP once the Quality Gate status is returned (E.G.)

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
HTH,
Ann