Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8349 Add webhooks for end of project analysis
  3. SONAR-8352

Include the properties sonar.analysis.* to payload

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2
    • Component/s: Webhook
    • Labels:

      Description

      The properties prefixed with sonar.analysis.* and defined on scanners should be included in the JSON payload. That allows to propagate some information known only on scanner environment like the SCM revision, the build number and the GitHub/Bitbucket organization/repository.

      Properties are part of the field "properties" in JSON payload:

      {
        // ....
        "properties": {
          "sonar.analysis.revision": "ab45d24",
          "sonar.analysis.buildNumber": "B123"
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: