Jenkins Jira测试结果报告错误

时间:2015-05-28 09:03:27

标签: jenkins jira

面对同一问题,已经在这里问过JiraTestResultReporter.JiraReporter aborted due to exception error in Jenkins

欣赏任何提示......

[JiraTestResultReporter] [INFO] Examining test results...
ERROR: Publisher 'Jira Test Result Reporter' 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:779)
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
    at hudson.model.Build$BuildExecution.post2(Build.java:185)
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
    at hudson.model.Run.execute(Run.java:1769)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:374)
Finished: FAILURE

1 个答案:

答案 0 :(得分:0)

这个问题也与JiraTestResultReporter.JiraReporter aborted due to exception error in Jenkins相同或非常相关。我在解决问题时遵循的以下步骤受到了上述提示的启发。

我从Github repo获得了一个函数hpi插件编译分支:

git clone https://github.com/gglentini/JiraTestResultReporter-plugin.git --branch unirest

编译机智:

mvn package -DskipTest

在Jenkins中手动安装target / JiraTestResultReporter.hpi。

重启Jenkins后的建筑没有错误。

相关问题