-
Notifications
You must be signed in to change notification settings - Fork 52
Report the failed step name in SynchronousResumeNotSupportedException #204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jglick
merged 11 commits into
jenkinsci:master
from
gbhat618:import-SynchronousResumeNotSupportedException-message
Feb 24, 2025
Merged
Report the failed step name in SynchronousResumeNotSupportedException #204
jglick
merged 11 commits into
jenkinsci:master
from
gbhat618:import-SynchronousResumeNotSupportedException-message
Feb 24, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
testing and |
6 tasks
Vlatombe
reviewed
Feb 21, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepContext.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepExecution.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 21, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepContext.java
Outdated
Show resolved
Hide resolved
dwnusbaum
reviewed
Feb 21, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepContext.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 21, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Show resolved
Hide resolved
jglick
reviewed
Feb 21, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousNonBlockingStepExecution.java
Show resolved
Hide resolved
Vlatombe
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Show resolved
Hide resolved
Vlatombe
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepContext.java
Outdated
Show resolved
Hide resolved
Vlatombe
reviewed
Feb 24, 2025
…ResumeNotSupportedException.java fix javadoc Co-authored-by: Vincent Latombe <vincent@latombe.net>
jglick
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepExecutionUtil.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Outdated
Show resolved
Hide resolved
jglick
reviewed
Feb 24, 2025
src/main/java/org/jenkinsci/plugins/workflow/steps/StepExecutionUtil.java
Outdated
Show resolved
Hide resolved
…onUtil.java Co-authored-by: Jesse Glick <jglick@cloudbees.com>
…ResumeNotSupportedException.java Co-authored-by: Jesse Glick <jglick@cloudbees.com>
…ResumeNotSupportedException.java Co-authored-by: Jesse Glick <jglick@cloudbees.com>
…ResumeNotSupportedException.java Co-authored-by: Jesse Glick <jglick@cloudbees.com>
jglick
approved these changes
Feb 24, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When a pipeline fails with
SynchronousResumeNotSupportedException, identifying the exact cause is difficult, even though the step name can be found inflowNodeStore.xml. This PR improves the error message by including the step function name, making debugging easier.This is especially helpful when:
Additionally, this PR suggests using the
retrystep in exception message, helping developers handle this exception correctly.Testing done
Ensured the english is correct - grammar and punctuations.
Exception message is correctly printed
pipeline logs
Automated test in: jenkinsci/workflow-support-plugin#306 due to
workflow-step-api-pluginis already dependency inworkflow-support-plugin(see comment)Submitter checklist