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
1 changed files with 5 additions and 0 deletions

View File

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