-
New Feature
-
Resolution: Fixed
-
Trivial
-
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)
- blocks
-
JENKINS-22356 No parser found for duplicated code
-
- Resolved
-