java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Per Arnold Blaasmo, 1 year ago
cannot change build result while in POST_PRODUCTION
via Jenkins JIRA by Per Arnold Blaasmo, 1 year ago
cannot change build result while in POST_PRODUCTION
via Google Groups by pablaasmo@java.net (JIRA), 1 year ago
cannot change build result <span class="code-keyword" style="color: #000091">while</span> in POST_PRODUCTION
via Google Groups by Clifford Sanders, 2 years ago
cannot change build result while in COMPLETED
via Jenkins JIRA by Bue Petersen, 1 year ago
cannot change build result while in POST_PRODUCTION
via Jenkins JIRA by Bue Petersen, 1 year ago
cannot change build result while in POST_PRODUCTION
java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION
at hudson.model.Run.setResult(Run.java:459)
at org.jenkinsci.plugins.pretestedintegration.scm.git.GitBridge.handlePostBuild(GitBridge.java:565)
at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationAction.finalise(PretestedIntegrationAction.java:94)
at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:58)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:193)
at hudson.model.Run.execute(Run.java:1785)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.