-
Bug
-
Resolution: Fixed
-
Major
Using version 1.12 of the plugin on Jenkins version 1.530
When I choose "Abort the build if stuck," there are no strategies available to choose from:
https://f.cloud.github.com/assets/2948394/1143405/f6412a08-1d39-11e3-93ac-2c62dc149688.png
When I then try to run a build, I get a null pointer exception:
12:34:27 FATAL: null
12:34:27 java.lang.NullPointerException
12:34:27 at hudson.plugins.build_timeout.BuildTimeoutWrapper$1EnvironmentImpl.<init>(BuildTimeoutWrapper.java:106)
12:34:27 at hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:120)
12:34:27 at hudson.model.Build$BuildExecution.doRun(Build.java:154)
12:34:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567)
12:34:27 at hudson.model.Run.execute(Run.java:1603)
12:34:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
12:34:27 at hudson.model.ResourceController.execute(ResourceController.java:88)
12:34:27 at hudson.model.Executor.run(Executor.java:246)
This affects only new jobs created after upgrading; jobs configured with the previous version of the plugin continue to work as expected.
Downgrading to the previous version (1.11) and reconfiguring the job resolves the issue.
- is duplicated by
-
JENKINS-19646 Build timeout job configuration is missing parameters for setting time.
- Resolved