feat(jobs): add ListPipelineTriggerJobs and deprecate ListPipelineBridges

Add ListPipelineTriggerJobs for GET /projects/:id/pipelines/:pipeline_id/trigger_jobs, introduced in GitLab 19.2.

  • Deprecate ListPipelineBridges, because the bridges route is deprecated in 19.2. The method is otherwise unchanged.
  • Add route variable routeProjectsIDPipelinesIDTriggerJobs and regenerate the mock.
  • Tests cover both methods (scope[] filter, downstream pipeline decoding, error paths), which also covers the previously untested ListPipelineBridges.

Docs: https://docs.gitlab.com/api/jobs/#list-pipeline-trigger-jobs

Fixes: #2330 (closed)

Merge request reports

Loading
Loading