Commit 3371008
Colin D Bennett
Support setting commit status
Support commit status updates. Commit status can be set by a POST to
the appropriate commit URL. The status can be updated by a subsequent
POST to the same URL with the same `name` and `ref`, but different
values for `state`, `description`, etc.
Note: Listing the commit statuses is not yet supported. This is done
through a different path on the server, under the `repository` path.
Example of use from the CLI:
# add a build status to a commit
gitlab project-commit-status create --project-id 2 \
--commit-id a43290c --state success --name ci/jenkins \
--target-url http://server/build/123 \
--description "Jenkins build succeeded"1 parent 1d7ebea commit 3371008
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
684 | 700 | | |
685 | 701 | | |
686 | 702 | | |
| |||
961 | 977 | | |
962 | 978 | | |
963 | 979 | | |
| 980 | + | |
964 | 981 | | |
965 | 982 | | |
966 | 983 | | |
| |||
0 commit comments