Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24478

Publisher hudson.plugins.cigame.GamePublisher aborted due to exception NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ci-game-plugin
    • None
    • Fedora 20 64 bit
      Jenkins 1.577
      Oracle JDK 1.7.0_45

      the ci-game plugin is throwing the following exception:

      Recording test results
      [ci-game] evaluating rule: Build result
      [ci-game] scored: 1.0
      [ci-game] evaluating rule: Increased number of passed tests
      ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception
      java.lang.NoSuchMethodError: hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
      	at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.getPreviousBuildWithResults(AbstractUnitTestsRule.java:49)
      	at hudson.plugins.cigame.rules.unittesting.AbstractUnitTestsRule.evaluate(AbstractUnitTestsRule.java:70)
      	at hudson.plugins.cigame.model.ScoreCard.evaluate(ScoreCard.java:102)
      	at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:45)
      	at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:122)
      	at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60)
      	at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
      	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.cleanUp(Build.java:192)
      	at hudson.model.Run.execute(Run.java:1786)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      

      if required I can dig into the historical logs to determine which version of Jenkins started to generate the above exception.

            cappuccino Simon Gamma
            abarbieri Andrea Barbieri
            Votes:
            21 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated:
              Resolved: