diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-02-24 18:54:01 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-02-24 18:54:01 +0200 |
commit | a3e9ce2268d98f5d63c9e4bbfa4e73dda6e8247a (patch) | |
tree | 1975c91d178ab1c06213274c0d1591a350327dc8 /yarns | |
parent | 069f8ba0d24992f310f8a3b4aad95aca4f3ac4f3 (diff) | |
download | ick2-a3e9ce2268d98f5d63c9e4bbfa4e73dda6e8247a.tar.gz |
Fix: remove indeterminism and move triggering of a build
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/400-build.yarn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index f818e95..ef164d9 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -863,10 +863,6 @@ Trigger both projects. ... with a valid token and body { "status": "triggered" } THEN result has status code 200 - WHEN user makes request PUT /projects/second/pipelines/do_something - ... with a valid token and body { "status": "triggered" } - THEN result has status code 200 - WHEN user requests list of builds THEN the list of builds is [] @@ -879,6 +875,10 @@ Trigger both projects. WHEN user requests list of builds THEN the list of builds is ["first/1"] + WHEN user makes request PUT /projects/second/pipelines/do_something + ... with a valid token and body { "status": "triggered" } + THEN result has status code 200 + WHEN obelix makes request GET /work/obelix THEN result is step ... { |