jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-58488] Restart from stage does not work with timeout step
- Dominant language
- Java
- Stars
- 73
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
If a stage contains a timeout step, then the "Restart from stage" feature does not work. Any attempt to restart the stage is just skipped by the timeout step.
A quick look to the timeout step code shows that it stores the time limit (end) as an absolute timestamp. So if the restart stage happens after that fixed time limit has passed then this issue is visible.
---
Originally reported by
amuniz, imported from: Restart from stage does not work with timeout step
Raw content of original issue
If a stage contains a timeout step, then the "Restart from stage" feature does not work. Any attempt to restart the stage is just skipped by the timeout step.
A quick look to the timeout step code shows that it stores the time limit (end) as an absolute timestamp. So if the restart stage happens after that fixed time limit has passed then this issue is visible.
Contributor guide
Assessment
This issue has not been assessed yet.