-
Bug
-
Resolution: Unresolved
-
Minor
-
None
The Sonar(-Qube) plugin creates links to the SonarQube project(s) on the SonarQube server on the Jenkins job page SonarRunner was invoked for. In case the project contains multiple (2 in our case) "Invoke standalone Sonar analysis" steps with different "sonar.branch" values, the plugin creates multiple links but all point to the first branch, there is no link for the second branch.
We have two Sonar installations defined (one test one production). However the link on the job page points to the first defined installation, although the job is configured to use the second installation. I also discovered, that the link is not updated when the job configuration changes. That means switching from installation Foo to installation Bar will not change the link accordingly.
We use SonarQube Plugin 2.2.1.