We are using Jenkins with GHPRB plugin to run tests on PRs when they get created/updated from Github.
Now we want to run SonarQube PR analysis as well.
Our branching structure is bit different, i.e. 5.0 is our main branch, then 5.5 , 5,4, 5,3 … are our release branches. Master and develop are being used for legacy releases, not active that much.
So do we need to first analyse our main/release branches, like 5.0, 5.x ?
And then do PR analysis ?
So 2 diff stages -
- Stage(‘SonarQube branch analysis’) → analyse 5.0 branch
- Stage(‘SonarQube PR analysis’) → analyse PR against 5.0 branch ?
I have a bog confusion here, any help/suggestions are helpful.
SQ Version - 7.9.4