Our organization is using short-lived feature branches built on Jenkins CI and analyzed with SonarCloud. We can see the results of the analysis in SonarCloud.
Now, if we open a pull request, it will inherit the Jenkins CI commit status, but not the Sonar Cloud analysis. It also won’t include any SonarCloud check, even though the commit has been analyzed when the branch was built.
Is there any way to make SonarCloud update the commit status and add the check when the pull request is opened?
The only workaround we’ve found is to trigger the CI again with a webhook when PRs are created. If there was a way to reuse the already existing analysis we would save a lot of time in our workflow.