I have a project with a single Github repository, including both front-end and back-end, where I trigger two analysis jobs, one for the front, and one for the back, in two different sonar projects with different rules.
My problem is that even if two different analyses are launched, only one is considered in the status checks:
- front-end analysis is OK : “Sonar Code Analysis” status check is ok.
- back-end analysis is KO : the merge is not blocked, since the status check is already green.
Is there a pattern for this use case?. If not, maybe simply adding an identifier for the status check, such as “SonarCloud Code Analysis: project-name” would work.
In the same fashion, the bot comments don’t show the name of the project, which is a problem when you have more that one analysis for the repository.
Thanks in advance for any help,