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

Detect date of the fork with reference branch

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4
    • Component/s: None
    • Labels:
    • Edition:
      Community
    • Production Notes:
      None

      Description

      If the New Code Period is configured to use a branch as a reference, the scanner should use the SCM to find the merge base between the branch being analyzed and the reference branch.

       This ticket involves the following changes:

      • A new method in the SCM plugin API so that the plugins can provide this information.
      • Scanner needs to access¬†api/newcodeperiod/show to check the configuration for the branch being analyzed.
      • The scanner report needs a new field for the date

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                duarte.meneses Duarte Meneses
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: