mc1arke / sonarqube-community-branch-plugin

A plugin that allows branch analysis and pull request decoration in the Community version of Sonarqube
GNU Lesser General Public License v3.0
2.26k stars 527 forks source link

MR decoration is only working on initial MR not on every push from gitlab #989

Closed balaG4046 closed 2 weeks ago

balaG4046 commented 3 weeks ago

Describe the bug Hi Team, We are in SonarQube community edition 10.6

I configure both, my SonarQube and Gitlab properly and I’m able to trigger SonarQube analysis on a MR. SonarQube them reports back to Gitlab with comments on the MR - perfect so far.

The issue is the following: Any further pushing to that branch works. SonarQube also performs analysis's. The one thing that won’t be performed are the comments on the MR.

It’s only the initial pushing on the MR what causes SonarQube to comment on my MR. For every push to the source code SonarQube is not reported back with analysis report using decoration only the initial push reported back, is that behavior normal does for MR decoration or do we need to add any setting for that feature.

Thanks!

Software Versions

Thanks!

balaG4046 commented 3 weeks ago

Hi @mc1arke can you please need your suggestion, is there MR decoration is work on every push in sonarqube community edition by using community branch plugin ?

balaG4046 commented 3 weeks ago

any update here

mc1arke commented 3 weeks ago

I'm not sure what you're expecting update-wise. You've not given enough detail to help triage this (details of how your build works, Sonarqube Compute Engine logs for a run that doesn't perform decoration, what you've already tried etc), so you're unlikely to get much in the way of a useful response.

balaG4046 commented 2 weeks ago

will close the ticket, after changing the bot permission, it is worked as expected.

Thanks!