jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-47786] add name field to timeout
- Dominant language
- Java
- Stars
- 73
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
we use nested timeouts. Would be nice to print not only timeout, but their names into the log:
instead of:
2017-10-29 11:24:43 Timeout set to expire in 2 hr 0 min
[Pipeline] timeout
[Pipeline] // timeout
2017-10-29 11:30:28 Cancelling nested steps due to timeout
would be better:
2017-10-29 11:24:43 Timeout set to expire in 2 hr 0 min
[Pipeline] timeout
[Pipeline] // timeout
2017-10-29 11:30:28 Cancelling nested steps due to timeout
or something similar
---
Originally reported by pan64, imported from: add name field to timeout
Raw content of original issue
we use nested timeouts. Would be nice to print not only timeout, but their names into the log:
instead of:
2017-10-29 11:24:43 Timeout set to expire in 2 hr 0 min
[Pipeline] timeout
[Pipeline] // timeout
2017-10-29 11:30:28 Cancelling nested steps due to timeout
would be better:
2017-10-29 11:24:43 Timeout <name> set to expire in 2 hr 0 min
[Pipeline] timeout <name>
[Pipeline] // timeout <name>
2017-10-29 11:30:28 Cancelling nested steps due to timeout <name>or something similar
Contributor guide
Assessment
This issue has not been assessed yet.