Affects Version/s: None
Fix Version/s: 2.1
We have created various sonar build projects in Jenkins that are built successfully and have successful sonar analysis. The issue lies in the UI link.
Our setup of Jenkins is hosted on a https URL.
Our Original Sonar analysis for any project should be displayed through the URL:
https://<Jenkins site>/sonar/dashboard/index/<Project name/ID> --> This opens correctly if copy pasted in a browser.
We face two failing scenarios on accessing the Sonar link of a particular project through Jenkins:
1.) If we try to access the 'Sonar' link directly from the main project page in Jenkins, it directs to a URL that does not contain a https, rather a http. Thus, the website says : Unable to connect. (Attached image #1)
It connects to: http://<Jenkins site>/sonar/dashboard/index/<Project name/ID>
2.) If we try to right click on the 'Sonar' link and open it in a new window/tab, it converts the URL into entirely something different. eg:
https://<Jenkins site>/sonar/project/index/<Project name/ID>
Notice that the word 'dashboard' gets converted to 'project', even though the https remains intact.
I am not sure if it would be reproduceable at your end, but we have upgraded to the latest version of Jenkins 1.442, and yet the issue persists.
Kindly provide a solution.