we see the analysis for the main branch, but PR and its branch does not show any issue, even though it should.
The analysis and PR decoration was working for us some time ago, but due to other issues we had I am not able to give more precise estimation than ‘half a year ago’.
Since then we altered the way we build the project, and I am aware that SonarCloud has also introduced number of changes.
I think that the problem might be the way we build the project.
Our software consist of several repositories. During build on Travis, we move/copy (using python’s copy/move functions) content of the current repo into another folder (./src/xmipp). We copy the .git folder (otherwise SonarCloud wasn’t able to match analysis with respective PR). The whole script is available here.
This naturally results in git reporting (correctly) many missing files in the root folder, and no changes in the ‘src/xmipp’.
Then the build script (among others) clones other repositories to the ‘src’ folder, performs the compilation (the project is mostly C++) using the wrapper and then runs the scanner.
Travis build log does not report any error.
I would be grateful for any tips on how to find out what is wrong and how to fix it.