diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-01-13 11:10:22 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-01-14 22:23:44 +0200 |
commit | 2fb35dbf240323ba5391937bc6c4fba895750029 (patch) | |
tree | 37e328900c42d9ecf35ae39dca011285c2396f44 /yarns/500-build-fail.yarn | |
parent | 769f03d7ff1709a43c0b82c131fae494f67cf08f (diff) | |
download | ick2-2fb35dbf240323ba5391937bc6c4fba895750029.tar.gz |
Add: move actions for a build into build resource
This way the list is known later even if the pipeline spec is changed.
Diffstat (limited to 'yarns/500-build-fail.yarn')
-rw-r--r-- | yarns/500-build-fail.yarn | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/yarns/500-build-fail.yarn b/yarns/500-build-fail.yarn index bc0a5ab..a88108c 100644 --- a/yarns/500-build-fail.yarn +++ b/yarns/500-build-fail.yarn @@ -91,8 +91,7 @@ Worker wants work and gets the first step to run. ... "fresh_workspace": true, ... "step": { ... "shell": "day 1" - ... }, - ... "step_index": 0 + ... } ... } Worker reports some build output. Note the exit code indicating @@ -147,6 +146,11 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "actions": [ + ... { "shell": "day 1" }, + ... { "shell": "day 2" } + ... ], + ... "current_action": null, ... "parameters": {}, ... "status": 1, ... "log": "/logs/1" @@ -163,6 +167,11 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "actions": [ + ... { "shell": "day 1" }, + ... { "shell": "day 2" } + ... ], + ... "current_action": null, ... "parameters": {}, ... "status": 1, ... "log": "/logs/1" |