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

Maven builds fail with "IllegalStateException: cannot change build result while in COMPLETED"

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • violations-plugin
    • None
    • OS: Windows

      Problem here with Jenkins 1.609.1 mit Maven builds and violations are checked (and the violation limits are exceeded).
      Maven integration plugin 2.10
      Violation plugin 0.7.11

      ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      java.lang.IllegalStateException: cannot change build result while in COMPLETED
      at hudson.model.Run.setResult(Run.java:462)
      at hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542)
      at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100)
      at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:865)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:374)
      

          [JENKINS-28880] Maven builds fail with "IllegalStateException: cannot change build result while in COMPLETED"

          martinro created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-25406 [ JENKINS-25406 ]
          Tomas Bjerre made changes -
          Assignee Original: peterkittreilly [ peterkittreilly ] New: Tomas Bjerre [ tomasbjerre ]
          Tomas Bjerre made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Tomas Bjerre made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163744 ] New: JNJira + In-Review [ 181357 ]
          Tomas Bjerre made changes -
          Assignee Original: Tomas Bjerre [ tomasbjerre ] New: peterkittreilly [ peterkittreilly ]
          Tomas Bjerre made changes -
          Link New: This issue is blocked by JENKINS-33423 [ JENKINS-33423 ]
          martinro made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            peterkittreilly peterkittreilly
            martinro martinro
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: