jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-47786] add name field to timeout

Open
#447 0 comments 0 reactions 0 assignees View on GitHub
component:workflow-basic-steps-plugin imported-jira-issue pipeline priority:minor resolution:unresolved
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


  • status: Open
  • priority: Minor
  • component(s): workflow-basic-steps-plugin
  • label(s): pipeline
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 20251215-220547

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.