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

PMD plugin does not find report files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • pmd-plugin
    • None
    • Jenkins 1.427
      PMD 3.2.0

      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.

        1. pmdtest.zip
          12 kB
        2. pmd.xml
          0.4 kB

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

              Created:
              Updated:
              Resolved: