Skip to content

Backend: feature addition: add API to read job meta information via git ref

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Allow to query the server for the most recent CI data of a certain job, linked to a given git reference. This comes in particularly handy, if a project's pipeline executes some job conditionally. So, instead of fetching and filtering the project's pipelines to find one that contains the meta data of the desired job, one can simply query the server.

Use Case

When using a "pull"-approach to compose artifacts from multiple projects into a single artifact, it would be desirable to get the meta information of the latest successful iteration of a certain job via a ref_name. This is particularly useful if artifacts from the same pipeline are to be retrieved by different jobs in a two-step approach.

The suggested feature has already been implemented and submitted for review. It has been used for more than a a year.

Edited by 🤖 GitLab Bot 🤖