diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-09-28 15:41:40 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-09-28 15:41:40 +0300 |
commit | 8ecb70eda861cd067f6ff036cb1ea683de32b2b0 (patch) | |
tree | f84265e3f19ce6bbd20d1fac710a105287daf433 | |
parent | e8e1a51adddd9d7a504c06ea383cf682493f6a90 (diff) | |
parent | c6139a03eb2c991d05e130ab0b29c31d8a971f65 (diff) |
Merge branch '51927-fix-job_details-json-schema' into 'master'
Fix job_details.json schema
Closes #51927
See merge request gitlab-org/gitlab-ce!21983
-rw-r--r-- | spec/fixtures/api/schemas/job/job_details.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/job/job_details.json b/spec/fixtures/api/schemas/job/job_details.json index 70d59c6e621..07e674216fa 100644 --- a/spec/fixtures/api/schemas/job/job_details.json +++ b/spec/fixtures/api/schemas/job/job_details.json @@ -4,6 +4,9 @@ ], "description": "An extension of job.json with more detailed information", "required": [ + "artifact", + "runner", + "runners", "has_trace" ], "properties": { @@ -12,7 +15,7 @@ "trigger": { "$ref": "trigger.json" }, "deployment_status": { "$ref": "deployment_status.json" }, "runner": { "$ref": "runner.json" }, - "runners": { "type": "runners.json" }, + "runners": { "$ref": "runners.json" }, "has_trace": { "type": "boolean" } } } |