Do not depend on cobertura plugin
See original GitHub issueEven when the “Uberalls” checkbox is not set, the build will fail if the cobertura plugin is not installed in Jenkins.
[phabricator:plugin-provider] 'cobertura' plugin not installed.
ERROR: Step ‘Post to Phabricator’ aborted due to exception:
java.lang.NoClassDefFoundError: hudson/plugins/cobertura/CoberturaBuildAction
at com.uber.jenkins.phabricator.coverage.CoberturaCoverageProvider.getCoverageResult(CoberturaCoverageProvider.java:89)
at com.uber.jenkins.phabricator.coverage.CoberturaCoverageProvider.hasCoverage(CoberturaCoverageProvider.java:46)
at com.uber.jenkins.phabricator.PhabricatorNotifier.getCoverageProvider(PhabricatorNotifier.java:216)
at com.uber.jenkins.phabricator.PhabricatorNotifier.perform(PhabricatorNotifier.java:89)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: java.lang.ClassNotFoundException: hudson.plugins.cobertura.CoberturaBuildAction
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Cobertura - Jenkins Plugins
This plugin allows you to capture code coverage report from Cobertura. Jenkins will generate the trend report of coverage.
Read more >Ignoring report generation for specific classes in cobertura ...
Cobertura maven plugin does not respect exclusion and ignoring for report generation.It does so for instrumentation though.
Read more >Introduction to Cobertura | Baeldung
Simply put, Cobertura is a reporting tool that calculates test coverage for a codebase – the percentage of branches/lines accessed by unit tests ......
Read more >The JaCoCo Plugin - Gradle User Manual
The JacocoCoverageVerification task is not a task dependency of the check task provided by the Java plugin. There is a good reason for...
Read more >cobertura-maven-plugin 2.7 - Google Groups
This maven plugin outputs coverage data in a format that can be used as an input for SonarQube's generic test coverage plugin (and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am using with the latest available plugin version 1.9.7 and running into the same issue. Could you please help me out here?
Thanks, plugin updated and running!