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

Provide project level properties at analysis time for pull requests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Branch & PR, Database, Scanner
    • Labels:
      None

      Description

      Context

      In the context of MMF-1134, the following properties must be set at project level:

      • sonar.pullrequest.github.repository
      • sonar.pullrequest.provider

      The goal is to handle this properties at analysis time. It'd ease integration with Travis add-on, for example.

      Solution

      • a pull request provider and repository are stored in the project_branches table
      • when gathering this information, search in the project_branches table (instead of the project property).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              janos.gyerik Janos Gyerik
              Reporter:
              teryk.bellahsene Teryk Bellahsene
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: