summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-09-28 12:41:40 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-09-28 12:41:40 +0000
commit8ecb70eda861cd067f6ff036cb1ea683de32b2b0 (patch)
treef84265e3f19ce6bbd20d1fac710a105287daf433
parente8e1a51adddd9d7a504c06ea383cf682493f6a90 (diff)
parentc6139a03eb2c991d05e130ab0b29c31d8a971f65 (diff)
downloadgitlab-ce-8ecb70eda861cd067f6ff036cb1ea683de32b2b0.tar.gz
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.json5
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" }
}
}