JiraTestResultReporter.JiraReporter aborted due to exception error in Jenkins

六眼飞鱼酱① 提交于 2019-12-07 12:35:26

问题


I configured JIRA plugin with Jenkins, I'm getting this error after build get completed. Could anyone explain how can I fix this issue with explanation.

Jenkins ver. 1.580

JIRA plugin 1.39

JiraTestResultReporter plugin 1.0.4

ERROR: Publisher JiraTestResultReporter.JiraReporter aborted due to exception
java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
    at JiraTestResultReporter.JiraReporter.perform(JiraReporter.java:105)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
    at hudson.model.Build$BuildExecution.post2(Build.java:183)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
    at hudson.model.Run.execute(Run.java:1770)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:89)
    at hudson.model.Executor.run(Executor.java:240)

回答1:


This is a known issue: https://issues.jenkins-ci.org/browse/JENKINS-25140

The bug itself was fixed a long time ago in the GitHub repository, but a change has not yet been released.

Once a newer version than 1.0.4 has been released, this should be resolved.



来源:https://stackoverflow.com/questions/26257627/jiratestresultreporter-jirareporter-aborted-due-to-exception-error-in-jenkins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!