which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
I am using Developer Edition Version 9.2.4 (build 50792)
what are you trying to achieve
Basically want I want to achieve is that Sonarqube Project Dashboard to show the latest scan result.
Right now , it is not showing . If I will analyse some other branches of some random projects they will not appear at the top in the Project Dashboard panel.
Like bellow per example I have as the latest analysed projects those ones :
I am just wondering, it is a question, I don’t know if it can be done or not.
If I am using Jenkins Jobs to run Code Analyses, it’s there a possibility to write a script who works with Sonar API , and when I’ve run the Code Analyses job for a particular branch eg: release 10.1.1 for project X who has the main branch set as master , to changed the main branch for that project in release 10.1.1 so it will appear on the main Project Dasboard ?
Waiting for your response when you have time.
Thanks!
In fact, we’ve had it in the list for a while now to be able to set a different branch as main, but it just hasn’t worked its way to the top of the list yet.