Given a project and its repository I want to analyse every commit starting from the first one (since the current analysis date can not be older than the last one in the system)
So my scenario is the following one:
The project is not yet created in SonarQube and I create it with the first analysis (the first commit date in the repo)
sonar.projectDate is set with the date of the first commit and Sonar Runner starts. Execution is succesfull but as soon as I try to browse the project on Sonarqube this message is printed:
+++ No analysis has been performed since creation. The only available section is the configuration ++++
Background task does not show any errors.
The point that I do not get is that if I remove the sonar.projectDate property from the procedure above, the message is no more displayed and I can browse the new project with all the results from the analysis.
But this time the date used for tagging this version is the default one (timestamp of the analysis) and not the right one (given that this was the first commit of the project).
In short words my goal is to:
create a new project
from that project analyse it from its first commit until the last one
Any other strategies?
it would be great to get some help
regards
Giuseppe