We are using SonarCloud Analysis in our Azure DevOps pipelines. We have recently converted a number of our pipelines from build / release to entirely YAML multi-stage pipeline.
We have set build validation to do sonarcloud analysis on our main branch, so we get analysis on pull requests. What we are seeing is that the sonarcloud analysis will continuously run until the entire pipeline completes, from build all the way to production for the multi-stage configuration. It doesn’t stop as expected as the build stage completes. In the build stage we have a prepare, complete analysis, and publish analysis step, but still does not work as expected. Has anyone else seen this or is there an additional task stop the analysis on the build step?