Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M3, 6.6
    • Component/s: Scanner
    • Labels:

      Description

      When sonar.branch.name is used, we need to detect whether it's a long or short living branch.
      The type should then be written in the scanner report.

      To figure it out, we should:

      • Query project repository with the branch name and check if the branch type is returned (this will be the case if a branch with that name already exists);
      • Otherwise, get the property "sonar.branch.longLivedBranches.regex" and apply the regex to the branch name to know if it's a short or long living branch;

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: