- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Languages of the repository: C#
Hi,
I have just started using SonarCloud (previous experience with on prem SonarQube) and Azure DevOps.
I have multiple C# solutions that share the same projects (.csproj) and I want to have the individual .csproj projects analysed in SonarCloud on their own. I am able to do this with SonarQube and Jenkins but I can’t find a way with SonarCloud and Azure DevOps.
Any suggestions would be welcomed.
Example project structure:
-
SolutionA.sln - build pipeline X
- ProjectOne.csproj
- ProjectTwo.csproj
-
SolutionB.sln - build pipeline Y
- ProjectThree.csproj
- ProjectTwo.csproj
The goal would be to have three projects analysed in SonarCloud. When pipeline X is run project 1 and 2 get analysed, and when pipeline Y is run, project 3 and 2 get analysed, therefore project 2 is shared between 2 piplelines.
Many Thanks,
Paul