question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do not depend on cobertura plugin

See original GitHub issue

Even 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:closed
  • Created 8 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jannet-faiz-zzcommented, Mar 17, 2017

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?

0reactions
kwisatzcommented, Jan 23, 2016

Thanks, plugin updated and running!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found