Skip to content

Commit 4e6f9a2

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 bdb85e8 commit 4e6f9a2

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
@@ -45,7 +45,7 @@ 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. \
4747
In Scripted syntax, you may wrap its containing `node` block within `retry(conditions: [nonresumable()], count: 2) {...}`, \
48-
or, in declarative syntax, use the `retries` option to an `agent` directive to resume it.""",
48+
or, in Declarative syntax, use the `retries` option to an `agent` directive to allow the stage to be retried.""",
4949
stepDisplayFunctionName)
5050
);
5151
}

0 commit comments

Comments
 (0)