Skip to content

Get Pipeline status in API

Now, in API there are no easy possibility to understand is last commit was successful. For example, if we have 5 parallel jobs in CI, when they finish you can only get in API this five jobs and need to check each job status.

Moreover, If one of these jobs fails, and then retried to success - you need additional logic to determine which of them was last, while in web interface you have Pipeline button, which shows it nicely.

So, my proposals:

  1. Add field retried or latest into build object in builds list in API
  2. Add API endpoint pipeline with information about commit, builds and pipeline status.
  3. Add API field pipeline_status for repository/commit endpoint.

While there is a button in the web - I think it would not be very hard to implement in API?

~"feature proposal" api