Branch analysis and merge request decorator in gitlab

SonarQube Enterprise Edition Version 7.9.3 (build 33349)
GitLab Enterprise Edition 14.7.2-ee

  • I’ve been using “Branch Analysis” like this: https://docs.sonarqube.org/7.9/branches/overview/ after that I can see the SonarQube Quality Gate in my UI Web Interface with the Quality gate of my current branch. However I can’t see that on my merge request decorator feedback on gitlab I always receive the result of “master” branch instead of my “custom branch”

Quick Note 1: I set the properties sonar.branch.name and sonar.branch.target but the result come from “master” branch
Quick Note 2: I tried using pull request analysis but the results were the same

Thanks a lot!

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.3 → 8.9.7 → 9.3 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann