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

Retain only issues on changed lines when target branch of a PR or short living branch is not analyzed

    XMLWordPrintable

    Details

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

      Description

      Today, when the target branch of a PR or SLB is not analyzed, we fallback on using the reference long living branch to do the issue tracking.
      This leads to have some issues reported in the PR, that are not truly caused by the PR, but by changes in the target branch.

      To avoid this, we want to only retain issues having at least one location "touched" by the PR/SLB. This is the same as what was implemented to analyze PR when there is no analysis of any other branch.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: