-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
pretested integration plugin 2.2.1
Linux Ubuntu 14.04 slave, master Linux Ubuntu 14.04.
When build is successful, but the push fails the plugin tries to change state of the build to failed. At this point it is not allowed by the Jenkins plugin model.
So integration is successful according to build status, but the changes never got pushed.
Performing pre-verified post build steps [PREINT-GIT] Commiting changes [PREINT] git push origin master [bpe.roadshow.verify] $ git push origin master Failed to commit integrated changes, message was: fatal: could not read Username for 'https://github.com': No such device or address ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:461) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:71) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.cleanUp(Build.java:193) at hudson.model.Run.execute(Run.java:1797) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Pretested Integration post-build' marked build as failure Finished: SUCCESS