Merge "Fail the scale workflows when sending a "FAILED" message"

This commit is contained in:
Jenkins 2017-01-14 08:47:35 +00:00 committed by Gerrit Code Review
commit 623017c51d

View File

@ -51,3 +51,8 @@ workflows:
status: <% $.get('status', 'SUCCESS') %> status: <% $.get('status', 'SUCCESS') %>
message: <% $.get('message', '') %> message: <% $.get('message', '') %>
execution: <% execution() %> execution: <% execution() %>
on-success:
- fail_workflow: <% $.get('status') = "FAILED" %>
fail_workflow:
action: std.fail