-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(executors): expose previous steps result (#452)
Signed-off-by: GitHub <noreply@github.com>
1 parent
f997d8b
commit fe3d592
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
executor: foobarcustommultisteps | ||
input: {} | ||
steps: | ||
- script: echo "hello" | ||
vars: | ||
content: | ||
from: result.systemout | ||
- script: echo "{{.content}} world" | ||
output: | ||
foobar: "{{.result.systemout}}" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: testsuite with a user executor in custom dir which has multiple steps | ||
testcases: | ||
- name: testfoobar multisteps custom | ||
steps: | ||
- type: foobarcustommultisteps | ||
assertions: | ||
- result.foobar ShouldEqual "hello world" | ||
|