diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-15 09:25:26 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-15 09:25:26 +0000 |
commit | fea03a73cfa46afa7973e38222110e12674f78cf (patch) | |
tree | bfc9826b7d464b16c55b712974586928ecc02c4e /doc/api | |
parent | 1452729304393978ec93b712130dff6687db01b9 (diff) | |
parent | 0f206980d770826d887674e5182fa2bef232cde2 (diff) | |
download | gitlab-ce-fea03a73cfa46afa7973e38222110e12674f78cf.tar.gz |
Merge branch 'pass_coverage_value_to_commit_status_api' into 'master'
Make it possible to pass coverage value to commit status API
Closes #27807
See merge request !9214
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/commits.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index 53ce381c8ae..ef2400aaf3c 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -444,6 +444,7 @@ POST /projects/:id/statuses/:sha | `name` or `context` | string | no | The label to differentiate this status from the status of other systems. Default value is `default` | `target_url` | string | no | The target URL to associate with this status | `description` | string | no | The short description of the status +| `coverage` | float | no | The total code coverage ```bash curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/17/statuses/18f3e63d05582537db6d183d9d557be09e1f90c8?state=success" @@ -464,6 +465,7 @@ Example response: "name" : "default", "sha" : "18f3e63d05582537db6d183d9d557be09e1f90c8", "status" : "success", + "coverage": 100.0, "description" : null, "id" : 93, "target_url" : null, |