summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yarns/400-build.yarn19
1 files changed, 19 insertions, 0 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index 6918459..a07eda4 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -58,6 +58,25 @@ Add up a project.
... }
THEN result has status code 201
+Add a second project so we know each project gets its own work steps.
+
+ WHEN user makes request POST /projects with a valid token and body
+ ... {
+ ... "project": "constantinople",
+ ... "parameters": {
+ ... "hey": "there"
+ ... },
+ ... "pipelines": [
+ ... {
+ ... "name": "construct",
+ ... "actions": [
+ ... { "shell": "fork" }
+ ... ]
+ ... }
+ ... ]
+ ... }
+ THEN result has status code 201
+
There are no builds for the project yet, and is idle.
WHEN user makes request GET /projects/rome/pipelines/construct