We have a PR that contains both FE and BE changes and in sonarcloud we have 2 projects for FE and BE respectively. We could see that firstly FE gate not passed ,later BE gate passed and then the entire PR passed. So can we can set somehow that we want to merge PR only if BE & FE has success build ?
I think what you’re looking for is monorepo support in SonarCloud. The docs should help you – and you’ll be able to achieve two separate PR decorations (one for each project).
Our PR contains both FE and BE changes and we have configured 2 separate prepare analysis task for each FE and BE projects in single PR. But we could see here FE quality gate is not passed and then BE quality gate is passed so the entire PR is passed and the code is getting merged. So can we set somehow that we want to merge PR only if BE & FE has success build ? or Do we need to have only one prepare analysis task in a PR? If yes how to achieve it as we have 2 projects in sonarcloud.