-
Improvement
-
Resolution: Fixed
-
Major
-
None
The build timeout value currently only accept a "hard coded" integer.
It would be interesting to be able to give it a variable, (a value coming from an external property file or a current build parameter), so that the timeout can be easily tuned depending on whatever environment condition.
The same for the Schedule Failed Builds plugin and its retry interval field.
Code changed in jenkins
User: Stephen Connolly
Path:
src/test/java/hudson/plugins/build_timeout/impl/ElasticTimeOutStrategyTest.java
http://jenkins-ci.org/commit/build-timeout-plugin/6678b3ac3aafcc003c90b61d9d67f6b05738d0e4
Log:
Fix unit tests and add note [FIXED JENKINS-9457] [FIXED JENKINS-19773] [FIXED JENKINS-20526]
Compare: https://github.com/jenkinsci/build-timeout-plugin/compare/a197e863d154^...6678b3ac3aaf