We have a step "Execute Script" which executes a groovy script. The step has timeout = 120 (seconds).
In the script there is a loop waiting for an event, which unfortunately never occurs due to an error in the script.
Setting timeout in the step was supposed to be a failsafe measure for exactly this kind of error.
As of now, the step has been running for half an hour. The timout seems to have no effect. I've tried to cancel the build several times - no effect either.
Also, I noticed in Advanced settings of the build that Force Kill Timeout is inherited from parent configuration as 5 (don't know whether 5 seconds or minutes or hours, since there is no mentioning of units in the help text).
Is this setting actually supposed to kill the running build 5 after I cancelled it?