Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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)

jenkinsci/cobertura-plugin#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

jenkinsci/cobertura-plugin#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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants