opendevstack / ods-jenkins-shared-library

Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Apache License 2.0
69 stars 57 forks source link

SonarQube Pull Request code insights link not pointing to the branch #1112

Closed braisvq1996 closed 1 month ago

braisvq1996 commented 1 month ago

Describe the bug Currently SonarQube PR code insights link just point to the project but not the branch, it would be needed for this link to the proper link of the scanned code (project and branch)

To Reproduce Steps to reproduce the behavior:

  1. Enable Sonarqube scan
  2. Create a Pull request
  3. Check code insights sonarqube link
  4. See wrong link

Expected behavior SonarQube PR code insights link should point to the proper URL

Affected version (please complete the following information):

Additional context The code to be modified is here

FYI @metmajer