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

Error while parsing the XML file

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • dry-plugin
    • None

      I use gradle as buildtool and start over jenkins. There, CPD is started via a plug-in and an XML file is generated. When parsing using the dry plugin, it then comes to an error

      I attached the output file 

       

      Plugin Version: 2.49

      gradle

       

      classpath 'de.aaschmid:gradle-cpd-plugin:latest.release'
      
      
      cpd {
       language = 'java'
       toolVersion = '6.0.0'
      }
      cpdCheck {
       reports {
       text.enabled = false
       xml.enabled = true
       }
      encoding = 'cp1252'
       ignoreAnnotations = true
       ignoreFailures = true
       ignoreIdentifiers = true
       ignoreLiterals = true
       source = sourceSets.main.allJava
      }
      

      Error

       Projekt : Das Einlesen der Datei /data/jenkins/workspace/ekit_test/build/reports/cpd/cpdCheck.xml ist wegen folgender Exception fehgeschlagen: java.io.IOException: No parser found for duplicated code results file /data/jenkins/workspace/ekit_test/build/reports/cpd/cpdCheck.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:99) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:323) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:281) at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:232) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:203) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2813) at hudson.remoting.UserRequest.perform(UserRequest.java:210) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:358) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
      

       

            drulli Ulli Hafner
            dovogt Dominik Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: