Hello !
We are using Azure Devops and Sonar Cloud, languages = C++
We have analysis pipelines which performs : downaload + install build wrapper, prepare sonar analysis, build with buildwrapper and msbuild, execute unit tests, convert report coverage to correct format and then run analysis.
This is working fine and we are able to see quality gates, code coverage etc
But, we would like to know : is it possible to split in 2 different stage or job the build part and the test execute part ?
Maybe by passing every build result from a stage to another, and then running analysis after test execution on an other stage? Or by doing build + analysis on one stage and test execute on an other (but in this case, how communicate the coverage result to the quality gate) ?
I’ve found some topics about it but I would like to know the current status :
SonarCloudAnalyze@1 when executed by different agent job to that of SonarCloudPrepare@1 in azure devops fails - SonarCloud - Sonar Community (sonarsource.com)
Combining code coverage from different scans - SonarQube - Sonar Community (sonarsource.com)
Thank you for your help,
Best regards