List commit pipeline (API)
Description
Get the pipeline id related to a commit
It's already possible to get the commit id (sha) of a pipeline, however it would be tedious to fetch the whole list every time to find one attached to a certain commit.
Proposal
expose the pipeline id in get a single commit api
Links / references
Documentation blurb
(add to example response)
"pipeline_id": "6104942438c14ec7bd21c6cd5bd995272b3faff6",
Overview
What is it? a (minor?) expansion to the commits api, making the List pipeline jobs endpoint a lot more usable Why should someone use this feature? to fetch a pipeline id given the commit sha What is the underlying (business) problem? run a (manual) job from a pipeline attached to a certain commit (using an external gui) How do you use this feature? get the id from the commits api to get the list of jobs attached to the pipeline to run one of them
Use cases
execute a certain job (attached to a pipeline) according to a given commit sha, giving non-technical people control over certain parts without making them accidentally break things (using an external interface to accomplish this; a Trello power-up in our case)
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml