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

PMD plugin does not find report files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: pmd-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.427
      PMD 3.2.0
    • Similar Issues:

      Description

      I generate PMD reports through the "mvn clean install site" command. This generates PMD report files correctly within the Maven site. But the PMD jenkins plugin doesn't seem to pick them up at all. In the build status I see:

      PMD: 0 warnings from 0 PMD files

      Plus I know from the Maven site reports that there are some PMD warnings.

      My Maven project 4 modules. The parent pom configures the PMD plugin, but since it has no code, it contains no pmd.xml

      If I look at the Jenkins workspace, I can find the pmd.xml correctly in <module>/target/pmd.xml, for each module.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                marc_boscher Marc Boscher
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: