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

Analysis cache gets cache from different branch when needed

    XMLWordPrintable

    Details

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

      Description

      The scanner shouldn't always get the cached data from the same branch or pull request being analysed. Instead:

      • Use the main branch if the branch being analyzed doesn't exist in SQ
      • Use the target branch of the PR if it exists in SQ
      • Use the main branch if the PR's target doesn't exist in SQ

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: