Skip to content

Exposing pipeline_id for commit status api

Max Fan requested to merge 207500-return-pipeline-id-for-commits-api into master

What does this MR do and why?

We are exposing pipeline_id response attribute for commit status APIs. This is to help the consumers understand which pipeline the status refers to.

Screenshots or screen recordings

For POST /projects/:id/statuses/:sha

image.pngAnd for GET /projects/:id/repository/commits/:sha/statuses

image.png

Before After

How to set up and validate locally

  1. Trigger these APIs locally, pipeline_id should now be returned

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #207500 (closed)

Edited by Max Fan

Merge request reports