-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 1.651.1, up-to-date pipeline and workflow plugins (list attached), IBM JRE 1.7.0, Linux
Pipeline/ workflow DSL: timeout() does not work as expected when a withEnv() is introduced inside the (same) timeout + node blocks and over the (same) shell command.
Specifically, without the withEnv block, the timeout actually interrupts the shell command.
With the withEnv block, the timeout does not interrupt the shell command; yet, the build still ends reporting that it was interrupted/ aborted.
- is duplicated by
-
JENKINS-34677 Pipeline/Timeout/Xvnc: "timeout" with a ""wrap" inside don't time out.
-
- Resolved
-
-
JENKINS-36010 Pipeline/Timeout: "timeout" with a "withEnv" insite don't time out
-
- Resolved
-
-
JENKINS-32545 failFast has no effect when withCredentials is used
-
- Resolved
-
- relates to
-
JENKINS-26148 Incorrect implementation of RetryStepExecution.stop
-
- Closed
-
-
JENKINS-39072 timeout step should include more logging/diagnostics information
-
- Resolved
-
- links to
[JENKINS-34637] pipeline DSL: timeout() does not work if withEnv() is enclosed
Description |
New:
Pipeline/ workflow DSL: timeout() does not work as expected when a withEnv() is introduced inside the (same) timeout + node blocks and over the (same) shell command. Specifically, without the withEnv block, the timeout actually interrupts the shell command. With the withEnv block, the timeout does not interrupt the shell command; yet, the build still ends reporting that it was interrupted/ aborted. |
Attachment | New: jenkins.txt [ 32627 ] | |
Attachment | New: linux.txt [ 32628 ] |
Link |
New:
This issue is duplicated by |
Workflow | Original: JNJira [ 170807 ] | New: JNJira + In-Review [ 184051 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Component/s | New: workflow-durable-task-step-plugin [ 21715 ] | |
Component/s | Original: pipeline [ 21692 ] |
Link |
New:
This issue is duplicated by |
Remote Link | New: This issue links to "PR #22 (test case) (Web Link)" [ 14875 ] |
Component/s | New: workflow-basic-steps-plugin [ 21712 ] | |
Component/s | Original: workflow-durable-task-step-plugin [ 21715 ] |