0

I have a solution in Xamarin stored in Azure devOps git repository. I've created a pipeline to analyse the code on SonarCloud. My Xamarin solution contain 3 projects (Xamarin forms, Xamarin Android, Xamarin iOS). Here is the pipeline:

Pipeline image

When I run the pipeline everything is OK (nuget restore, build, code analysis, publish) but when I go to SonarCloud, I see that only Android and iOS projects have been analysed. The Xamarin forms project was not analysed. In sonarCloud, I can see my code for the iOS and Android projects but not for my Xamarin forms project. Can somebody know why ?

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
Cypher
  • 3
  • 3

1 Answers1

0

Ok I understand why. It's because I've analysed a short lived branch. Only the new and modified files, compared to the “target branch”, are displayed and can contain issues. By default branches are short-lived if their name does not start with “branch” nor “release”.

Cypher
  • 3
  • 3