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

Add path relative to project base dir for every component in analysis report

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: Scanner
    • Labels:
      None

      Description

      In order to decorate pull request diffs with inline comments, we need to map the paths of components in SonarQube to file paths in the SCM repository. One piece of information that will greatly help this is the relative path of each file from the project base directory. (While at it, add the relative path for all components, including directories and modules, not only files.)

      Add a new field in the analysis report and pass this relative path at analysis time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              janos.gyerik Janos Gyerik
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: