我使用配置了JIRA插件Jenkins,构建完成后出现此错误。任何人都可以通过解释来解释如何解决此问题。
JIRA
Jenkins
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)
这是一个已知问题:https : //issues.jenkins-ci.org/browse/JENKINS-25140
该错误本身很久以前已在GitHub存储库中修复,但尚未发布更改。
一旦发布了比1.0.4更高的版本,则应解决此问题。