Fix task result syntax in workflows used for functional tests
Change-Id: I5ef1659f2cbf7f2234c51b57d0bf161d03acb178
This commit is contained in:
		| @@ -6,8 +6,9 @@ name: wb | ||||
| workflows: | ||||
|   wf1: | ||||
|     type: direct | ||||
|  | ||||
|     tasks: | ||||
|       hello: | ||||
|         action: std.echo output="Hello" | ||||
|         publish: | ||||
|             result: <% $.hello %> | ||||
|           result: <% task(hello).result %> | ||||
|   | ||||
| @@ -12,4 +12,4 @@ workflows: | ||||
|       hello: | ||||
|         action: std.echo output="Hello" | ||||
|         publish: | ||||
|           result: <% $.hello %> | ||||
|           result: <% task(hello).result %> | ||||
|   | ||||
| @@ -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 %> | ||||
|   | ||||
| @@ -8,4 +8,4 @@ wf_single: | ||||
|     hello: | ||||
|       action: std.echo output="Hello" | ||||
|       publish: | ||||
|         result: <% $.hello %> | ||||
|         result: <% task(hello).result %> | ||||
|   | ||||
| @@ -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 %>" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Renat Akhmerov
					Renat Akhmerov