Skip to content

Commit 025eec6

Browse files
committed
update text to match example
1 parent 4c902d4 commit 025eec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/modules/orchestrate/pages/pipeline-variables.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ workflows:
174174
my-workflow:
175175
jobs:
176176
- daily-message:
177-
message: echo << parameters.message >>
177+
message: << parameters.message >>
178178
```
179179

180-
Even though the `print` command is called from the `cat-file` job, the file parameter would not be in scope inside the print job. This ensures that all parameters are always bound to a valid value, and the set of available parameters is always known. Running this would throw a pipeline error of `Arguments referenced without declared parameters: message`.
180+
Even though the `print` command is called from the `daily-message` job, the `message` parameter would not be in scope inside `my-workflow`. This ensures that all parameters are always bound to a valid value, and the set of available parameters is always known. Running this would throw a pipeline error of `Arguments referenced without declared parameters: message`.
181181

182182
[#pipeline-value-scope]
183183
=== Pipeline value scope

0 commit comments

Comments
 (0)