Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13126

Add summary of analysis in GH discussion tab

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      In the conversation tab, a summary of the analysis of code should appear at the end of the conversation.
      This implies that if there has been done several pushes, newest analysis replaces the previous comment with a new one at the end.
      In other words, this comment is recreated (to appear at the end of the thread) every time there is an analysis
      When I update an issue on SonarQube side, the comment is updated but not recreated
      This comment could say something like this:
      When QG is passed
      Kudos, SonarQube Quality Gate passed!

      0 bugs | 0 vulnerability | 2 Code Smell | 83,4% Coverage | 0,2 % Duplications (<- with links)
      3 Security Hotspots to review (<- with link)

      When QG is failed
      SonarQube Quality Gate failed.[link to the "SonarQube" PR page]

      1 bugs | 0 vulnerability | 2 Code Smell | 13,4% Coverage | 0,2 % Duplications (<- with links)
      3 Security Hotspots to review (<- with link)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jacek.poreda Jacek Poreda
              Reporter:
              jacek.poreda Jacek Poreda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: