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

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

XMLWordPrintable

    • 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)
      

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

              Created:
              Updated:
              Resolved: