I am using:
- Azure DevOps
- SonarQube 7.4
- SonarQube extension 4.5.1
There are 2 solutions in my Azure Build pipeline.
My build definition is as follows:
- Prepare analysis configuration 1 - Project 1
- Build solution 1
- Run Code Analysis 1
- Publish Quality Gate Result 1
- Prepare analysis configuration 2 - Project 2
- Build solution 2
- Run Code Analysis 2
- Publish Quality Gate Result 2
Is this definition configured correctly for multiple solutions that are mapped to multiple projects in SonarQube server?
The build completed succesfully. But in the build summary, there were 2 SonarQube Analysis Report:
SonarQube Analysis Report
Quality Gate Failed
Coverage on New Code 0.0% < 80.0%
Duplicated Lines on New Code (%) 4.8% > 3.0%
Detailed SonarQube report > [Redirects to Project 2]
SonarQube Analysis Report
Quality Gate Failed
Coverage on New Code 0.0% < 80.0%
Duplicated Lines on New Code (%) 4.8% > 3.0%
Detailed SonarQube report > [Redirects to Project 1]
The 2 reports looked similar, the only difference is that the hyperlink redirects to different project. Is there a way to customize the title “SonarQube Analysis Report” to visibly differentiate between the 2 projects?
Thank you