Fix task result syntax in workflows used for functional tests

Change-Id: I5ef1659f2cbf7f2234c51b57d0bf161d03acb178
This commit is contained in:
Renat Akhmerov 2016-04-11 18:40:25 +07:00
parent 0806619875
commit 56570703c2
5 changed files with 8 additions and 7 deletions

View File

@ -6,8 +6,9 @@ name: wb
workflows:
wf1:
type: direct
tasks:
hello:
action: std.echo output="Hello"
publish:
result: <% $.hello %>
result: <% task(hello).result %>

View File

@ -12,4 +12,4 @@ workflows:
hello:
action: std.echo output="Hello"
publish:
result: <% $.hello %>
result: <% task(hello).result %>

View File

@ -9,7 +9,7 @@ wf:
hello:
action: std.echo output="Hello"
publish:
result: <% $.hello %>
result: <% task(hello).result %>
wait-after: 1
on-success:
- task2
@ -17,4 +17,4 @@ wf:
task2:
action: std.echo output="Task 2"
publish:
task2: <% $.task2 %>
task2: <% task(task2).result %>

View File

@ -8,4 +8,4 @@ wf_single:
hello:
action: std.echo output="Hello"
publish:
result: <% $.hello %>
result: <% task(hello).result %>

View File

@ -9,7 +9,7 @@ wf:
action: std.echo output="Hello"
wait-before: 5
publish:
result: <% $.hello %>
result: <% task(hello).result %>
wf1:
type: reverse
@ -21,7 +21,7 @@ wf1:
addressee:
action: std.echo output="John"
publish:
name: <% $.addressee %>
name: <% task(addressee).result %>
goodbye:
action: std.echo output="<% $.farewell %>, <% $.name %>"