-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.414.1
The following pipeline succeeds, even though `sleep` times out on the first try. It appears that the second try ignores the `timeout` option.
pipeline { agent none stages { stage('With timeout') { options { retry(2) timeout(time: 5, unit: 'SECONDS') } steps { sleep time: 10, unit: 'SECONDS' } } } }