Hi,
I am Running SonarQube 8.3 and have PR decoration up and running. This is working fine when I run PR decoration on a Android or iOS only app.
However we mainly work Xamarin based projects. These projects usually contain common projects for both Android and iOS app versions, but also iOS and Android specific projects.
I have setup 2 projects in SonarQube 1 for Android and 1 for iOS. I have setup the build scripts in Microsoft Appcenter, in such a way that when appcenter builds the Android version of the app, the sonarscanner references the Android project on the SonarQube server.
Now we also want to enable PR decoration. I have opted to use github actions for this, because ms appcenter isn’t triggered by a pull request. The trouble I have is that in a Github action I don’t see a way to determine if it should connect to the Android project on the SQ server, or the iOS project.
I would like to know if:
- it is correct to setup 2 projects. 1 for the Android app and 1 for the iOS app.
- if there is another way to accomplish PR decoration in the situation I have tried to describe.
Thank you in advance
Kind regards,
P. Herms