Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Cobertura plugin out of sync? #233

Open
sujeet opened this issue Sep 28, 2017 · 2 comments
Open

Cobertura plugin out of sync? #233

sujeet opened this issue Sep 28, 2017 · 2 comments

Comments

@sujeet
Copy link

sujeet commented Sep 28, 2017

seems like the latest cobertura plugin deleted some methods which are still being used by this plugin...

ERROR: Step ?Post to Phabricator? aborted due to exception: 
java.lang.NoSuchMethodError: hudson.plugins.cobertura.targets.CoverageResult.setOwner(Lhudson/model/AbstractBuild;)V
	at com.uber.jenkins.phabricator.coverage.CoberturaCoverageProvider.computeCoverage(CoberturaCoverageProvider.java:131)
	at com.uber.jenkins.phabricator.coverage.CoberturaCoverageProvider.hasCoverage(CoberturaCoverageProvider.java:61)
	at com.uber.jenkins.phabricator.PhabricatorNotifier.getCoverageProvider(PhabricatorNotifier.java:252)
	at com.uber.jenkins.phabricator.PhabricatorNotifier.perform(PhabricatorNotifier.java:98)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
	at hudson.model.Run.execute(Run.java:1745)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)

https://github.com/jenkinsci/cobertura-plugin/issues/73

@artms
Copy link
Contributor

artms commented Oct 5, 2017

Unfortunately phabricator-jenkins-plugin is not compatible with covertura > 1.9.8, api was changed in 1.10.X, you need to downgrade plugin to fix that issue.

@jeffpearce
Copy link

https://github.com/jenkinsci/cobertura-plugin/issues/73 fixes this exception, but I don't have an end-to-end configured to verify there aren't other issues lurking

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants