summaryrefslogtreecommitdiff
path: root/doc/api/commits.md
diff options
context:
space:
mode:
authorGaetan Semet <gaetan.semet@renault.com>2019-07-15 14:47:47 +0200
committerMatija Čupić <matteeyah@gmail.com>2019-07-17 14:43:15 +0200
commit4e814c257b74ac78a50f54ec57b1e1c7f78d43b7 (patch)
tree0d18c4f71652af5727e9e156081261c7551d072d /doc/api/commits.md
parent4f95a8d7f6612e8df138bd831db7f689a01ef9ca (diff)
downloadgitlab-ce-4e814c257b74ac78a50f54ec57b1e1c7f78d43b7.tar.gz
Multiple pipeline support for Build status
This allows user to specify the pipeline ID when several pipelines has been triggered on the same branch and commit. Signed-off-by: Gaetan Semet <gaetan.semet@renault.com>
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r--doc/api/commits.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 6eb4c47415f..a6264897e5e 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -581,6 +581,7 @@ POST /projects/:id/statuses/:sha
| `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
+| `pipeline_id` | integer | no | The id of the pipeline to set status. Use in case of several pipeline on same sha.
```bash
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/17/statuses/18f3e63d05582537db6d183d9d557be09e1f90c8?state=success"