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

Exception caught while evaluating ci-gam results

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Duplicate
    • ci-game-plugin
    • Jenkins version 1.559
      CI Game version 1.20

    Description

      When evaluating the CI Game at the end of my build, I'm getting the following exception:
      [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)

      Attachments

        Issue Links

          Activity

            philipa Philip Aston added a comment -

            I upgraded to CI Game 1.20 and Jenkins 1.577 yesterday. CI Game breaks with same stack trace.

            philipa Philip Aston added a comment - I upgraded to CI Game 1.20 and Jenkins 1.577 yesterday. CI Game breaks with same stack trace.
            philipa Philip Aston added a comment -

            Downgrading CI Game to 1.19 didn't fix this, so I guess the jenkins update has removed this method. Interestingly, it was previously working against 1.568 which is later than the OP is using.

            philipa Philip Aston added a comment - Downgrading CI Game to 1.19 didn't fix this, so I guess the jenkins update has removed this method. Interestingly, it was previously working against 1.568 which is later than the OP is using.
            danielbeck Daniel Beck added a comment -

            Duplicates JENKINS-24478 (I already explained there what's going on, so resolving this one despite being older).

            danielbeck Daniel Beck added a comment - Duplicates JENKINS-24478 (I already explained there what's going on, so resolving this one despite being older).

            People

              redsolo redsolo
              macedawg8 Eric Masson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: