Skip to content

Add pipeline param to Commit Status API

What does this MR do?

This MR adds a parameter with the wanted pipeline ID, to the Commit Status API. Right now, the API always chooses the latest pipeline for the sha+ref.

The reason we need this, is because we trigger external jobs from the pipeline itself. The external job creates a link, and sends it as a "running" status, so we can monitor the job as it goes (and check results when done). We run the pipeline both on schedule and every commit with different variables that affect the external job, so we can't just always use the "latest" pipeline and assume it is the right one.

What are the relevant issue numbers?

There is no issue. Should I open one?

Does this MR meet the acceptance criteria?

Edited by Daniel Shaulov

Merge request reports