TL;DR: is it possible to create a MonoRepo using multiple already existing SonarCloud projects? Or do I have to use an existing one and recreate the other ones (but lose their history)?
Hello all,
I have a project where previous maintainers created multiple SonarCloud projects for a single GitHub repository (one for the Java part, one for the C++ part). The thing is, it was before MonoRepo existed so they are considered different projects and in the GitHub PR, they appear with no specific name:
That causes a problem with the checks where the second analysis just erase the check result of the first. Which means that if the first fails but the second is ok, the check will appear ok…
On another repo where we only had one SonarCloud project, I created a MonoRepo and I now have both analysis appear with different names, which then creates a line for each analysis in the checks.
I would like to have the same for the first repo but I can’t find how to create the MonoRepo with the two existing repositories.
My question is: is it possible to create a MonoRepo using multiple already existing SonarCloud projects? Or do I have to use an existing one and recreate the second one (but lose the history)?
Template for a good new topic, formatted with Markdown:
- ALM used (GitHub, Bitbucket Cloud, Azure DevOps): GitHub
- CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI): GitHub Workflow
- Languages of the repository: Java+Python and Java+C++
- Only if the SonarCloud project is public, the URL
Thank you for your help and your answers!