Parse deploy_status_code vs status_code in deployment workbook

It looks like the correct name of the output providing the status
code is deploy_status_code not status_code.

Change-Id: Id9772732cb9affadd10d8325f087380a6d9bdb00
Closes-Bug: #1739305
This commit is contained in:
Giulio Fidente 2017-12-19 23:29:11 +01:00
parent 97ba26dd05
commit 45c2c4a4aa

View File

@ -31,7 +31,7 @@ workflows:
publish:
stdout: <% task().result.deploy_stdout %>
stderr: <% task().result.deploy_stderr %>
status_code: <% task().result.status_code %>
status_code: <% task().result.deploy_status_code %>
publish-on-error:
status: FAILED
message: <% task().result %>