Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: dry-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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)
      

       

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            Handling of dry files has been moved to the warnings plugin now. Can you please check if this is working better now?

            Show
            drulli Ulli Hafner added a comment - Handling of dry files has been moved to the warnings plugin now. Can you please check if this is working better now?

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: