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

Enable New Code based on "reference branch" with a scanner parameter

    XMLWordPrintable

    Details

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

      Description

      We introduce a new parameter used on the scanner side, 'sonar.newCode.referenceBranch'.
      The parameter affects the scanner in the following way:

      Assumes that the New Code Period is set to "reference branch", using the given branch as the reference.
      Skips fetching the New Code Period setting from the server
      Rest of the behavior remains unchanged, including getting diff from the SCM.

        Attachments

          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

              Created:
              Updated:
              Resolved: