Issue Type: Bug Bug
Affects Versions: current
Assignee: kutzi
Components: ircbot
Created: 29/Aug/14 11:59 AM
Description:

Currently a number of our builds are being forced to fail by the IRC Notification component due to the following stacktrace:

ERROR: Publisher hudson.plugins.ircbot.IrcPublisher aborted due to exception
java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
at hudson.plugins.im.build_notify.PrintFailingTestsBuildToChatNotifier.getFailedTestsReport(PrintFailingTestsBuildToChatNotifier.java:68)
at hudson.plugins.im.build_notify.PrintFailingTestsBuildToChatNotifier.buildCompletionMessage(PrintFailingTestsBuildToChatNotifier.java:37)
at hudson.plugins.im.IMPublisher.notifyChatsOnBuildEnd(IMPublisher.java:577)
at hudson.plugins.im.IMPublisher.notifyOnBuildEnd(IMPublisher.java:304)
at hudson.plugins.im.IMPublisher.perform(IMPublisher.java:291)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
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:1765)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)

Switching the Channel Notification Message to anything which does not mention "failed tests" will resolve the issue. It should be noted that this is only a problem if "failed tests" is selected as part of the Channel Notification Message and the build has tests which then fail.

Environment: Jenkins 1.577
Project: Jenkins
Priority: Blocker Blocker
Reporter: Ben Cooksley
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to