Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
When using a retry wrapper in Pipeline you cannot abort during the retry, the abort is treated as any other failiure.
Attachments
Issue Links
- is duplicated by
-
JENKINS-37128 Retry build step incompatible with canceling builds
-
- Resolved
-
-
JENKINS-41774 Pipeline executes "retry" when pipeline is aborted
-
- Closed
-
- relates to
-
JENKINS-44379 workflow-basic-steps: retry does not abort when input or milestone try to abort build
-
- Resolved
-
- links to
(3 links to)
Code changed in jenkins
User: Jesse Glick
Path:
pom.xml
src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java
src/test/java/org/jenkinsci/plugins/workflow/steps/RetryStepTest.java
http://jenkins-ci.org/commit/workflow-basic-steps-plugin/422295a5dbac5192e0320d916fb37838e3c24c87
Log:
[FIXED JENKINS-41276] Do not continue to retry when the failure is a user interruption.