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

Telemetry - include SCM usage information

    XMLWordPrintable

    Details

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

      Description

      CIs are detected based on environment variables present during the execution of the scanner. We'll use the existing 'CiVendor' interface.

      SCMs are detected when a scm provider is used by the scanner. This means that out of the box, the scanner can detect Git and SVN. If community plugin is installed for it, we may be able to also detect Mercurial, CVS, etc. See [here|https://docs.sonarqube.org/display/PLUG/Plugin+Library.]

      If no CI or SCM is detected, the scanner will set them to 'undetected'.

      These 2 fields will be saved in the "Scanner context" or the project, and will therefore be saved in the DB table 'analysis_properties".

      {
        "scm": "git",
        "count": 1
      } 
      {
        "ci": "Gitlab CI",
        "count": 1
      }

       

        Attachments

          Activity

            People

            Assignee:
            michal.duda Michal Duda (Inactive)
            Reporter:
            michal.duda Michal Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: