mc1arke / sonarqube-community-branch-plugin

A plugin that allows branch analysis and pull request decoration in the Community version of Sonarqube
GNU Lesser General Public License v3.0
2.26k stars 526 forks source link

Last Analysis Date was not updated on Sonar7.9.2 #78

Closed patown closed 4 years ago

patown commented 4 years ago

Describe the bug A clear and concise description of what the bug is. mvn sonar:sonar -Dsonar.branch.name to run an anayalis and it was successfully executed and the result was pushed to a Sonar7.9.2 server. But on this server, the project's status was not updated on SonarQube's dashboard.

To Reproduce Steps to reproduce the behavior:

  1. mvn sonar:sonar -Dsonar.branch.name, nothing updated on SonarQube's dashboard.
  2. mvn sonar:sonar, and the project's status was updated on SonarQube's dashboard.

Software Versions

mc1arke commented 4 years ago

Could you share some screenshots, or more detailed steps as to there you're clicking to view the status? 'SonarQube dashboard' could refer to a number of screens within SonarQube, so it's difficult to try and triage your issue.

mc1arke commented 4 years ago

Closing this since it's not clear enough to replicate. Please re-open if you have further information that will help replicate it.

djlindstr commented 4 years ago

I have run into the same issue. "Dashboard" refers to the start page in SonarQube (at least for me). URL ends with /projects?sort=-analysis_date. The "Last analysis" date refers to when the master branch was analysed. After running analysis for a different branch I expect to find a new timestamp but "Last analysis" is not updated.

sonar-analysis

As I don't have the Developer Edition I cannot say how that behaves. But of course, if I did I wouldn't be trying out this plugin. :)

jamesjallorina commented 1 year ago

Is there any update on this? I have run into the same issue. Thanks!