Hi, I am a new learner for Drone. Thank you guys for this amazing product! But I have one question about the clone plug-in.
I found that my drone pipeline clone the target and merge the source branch when trigger the pull request event. Is there a way to change this behavior? (ex: Stay on the source branch.)
I believe this behavior is causing issue when I try to integrate Sonarqube with Drone.
The issue is that since the source branch is already merged into target branch, so Sonarqube can not tell the different between source and target, and it always show no new code for my pull request despite It does have new code in commit.
My current workaround is specify the remote target branch for diff.
There is a SonarQube thread discuss about this situation I think match to what I described. Coverage not showed for manual PR analysis in Drone CI - #5 by giovannigiordano_cas - SonarQube - SonarSource Community