Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17722

Violations Codenarc Parser doesn't respect SourceDirectory XML tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • violations-plugin
    • None

      When running a Codenarc report against a subdirectory (i.e. a Gradle subproject), Codenarc generates a report where the <Package> path is relative to the subproject but includes a <SourceDirectory> tag to indicate path of the subproject relative to the root project.

      The CodenarcParser doesnt' respect the SourceDirectory tag when generating the file model so violations aren't rendered appropriately to the view. The violation is displayed on the summary, but clicking the link brings you to an empty page.

            peterkittreilly peterkittreilly
            johnrengelman John Engelman
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: