diff options
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r-- | yarns/400-build.yarn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index 7632f00..30e47c6 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -66,6 +66,7 @@ Register a worker. GIVEN an access token for worker-manager with scopes ... uapi_workers_post + ... uapi_work_post WHEN worker-manager makes request POST /workers ... { ... "worker": "obelix" @@ -127,6 +128,7 @@ User can now see pipeline is running and which worker is building it. ... { ... "worker": "obelix", ... "doing": { + ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", ... "step_index": 0, @@ -149,7 +151,7 @@ Worker reports some build output. Note the null exit code. ... "stderr": "", ... "timestamp": "2017-10-27T17:08:49" ... } - THEN result has status code 200 + THEN result has status code 201 AND body matches { "result": "waiting for more" } Still the same job, since the first build step didnt't finish. |