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

blank cpd xml not ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • violations-plugin
    • None
    • violations plugin 0.7.11
      dry plugin 2.44

      In case CPD does not find any issues, the created XML file is blank (filesize 0). While the Dry Plugin ignores this file, the Violation Plugin fails the build (Cannot parse XML).
      Expected behaviour would be to behave as if an empty XML (<?xml version="1.0" encoding="UTF-8"?><pmd-cpd></pmd-cpd>) was present, i.e. no issues found.

            peterkittreilly peterkittreilly
            robert_l Robert Lieske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: