Which Git commit hash has been analyzed

is it possible to see which git commit that has been analyzed, in sonar web gui ?
Oor in some other way in sonarqube ?
In version 7.9


Hello Anders,
No it is not possible out of the box.
You may add this as metadata through the custom Events concept and push through the APIs AFTER the analysis. See:

  • https://docs.sonarqube.org/latest/user-guide/activity-history/ for the Events concept
  • The Project Activity Tab, left pane with analyses, and the gear icon to create a custom Event manually eg Commit: xxxx, attached to an analysis
  • api/project_analyses/create_event for automation of this process in your pipeline.


1 Like

Ok, thanks.