Allow CI_JOB_TOKEN to get pipeline status
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
Currently, CI_JOB_TOKEN can be used to trigger multi-project pipelines and fetch artifacts from other pipelines, but there's no way of checking the pipeline status without creating an API token.
Proposal
Allow CI_JOB_TOKEN access to be able to query a pipeline.
Endpoints
- GET /projects/:id/pipelines/:pipeline_id
- GET /projects/:id/pipelines/:pipeline_id/jobs
Links / references
https://finestructure.co/blog/2017/12/2/gitlab-ci-pipeline-trigger-and-wait https://gitlab.zendesk.com/agent/tickets/91808
Edited by Joe Randazzo