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

Reporting plugins report error on M2 project when one module doesn't have results

XMLWordPrintable

      after a successful build my result page shows the message "During parsing an error has been reported." for the Checkstyle, PMD and CPD plugin as well as the actual fixed/new warnings. When I click on the link [1] it says "No report files were found. Configuration error?" But the reports can be found as the warnings are correct.

      It is a multimodule maven project, which runs the pmd and checkstyle reports itself so that Hudson can pick up the results.

      I'm using a M2 job type and there is one module without results.

      Layout:

      /pom.xml <- aggregator pom, parent = released company pom
      /parent
      /parent/pom.xml <- parent pom, parent = released company pom
      /module-1
      /module-1/pom.xml <- module pom, parent = parent/pom.xml
      /module-2
      /module-2/pom.xml <- module pom, parent = parent/pom.xml

      The parent module doesn't contain any sources, so this doesn't contain any result files.

            drulli Ulli Hafner
            nick_stolwijk nick_stolwijk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: