Skip to content

Commit bdb85e8

Browse files
gbhat618jglick
andauthored
Update src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
1 parent 53843f6 commit bdb85e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/workflow/steps/SynchronousResumeNotSupportedException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public SynchronousResumeNotSupportedException() {
4444
public SynchronousResumeNotSupportedException(String stepDisplayFunctionName) {
4545
super(String.format("""
4646
Step `%s` is a non-blocking synchronous step; it doesn't support resume after a restart. \
47-
You may wrap it within `retry(conditions: [nonresumable()], count: 2) {...}`, \
47+
In Scripted syntax, you may wrap its containing `node` block within `retry(conditions: [nonresumable()], count: 2) {...}`, \
4848
or, in declarative syntax, use the `retries` option to an `agent` directive to resume it.""",
4949
stepDisplayFunctionName)
5050
);

0 commit comments

Comments
 (0)