Skip to content

Add pipeline name to job webhook event payload

Reuben Pereira requested to merge rp/add-name-to-job-event into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Pipelines can now have custom names set in the .gitlab-ci.yml file (https://docs.gitlab.com/ee/ci/yaml/index.html#workflowname). This feature is currently behind the pipeline_name feature flag which is default enabled on gitlab.com and self-managed installations.

Add the pipeline name to the job webhook event payload since it makes it easier to identify which pipeline the job is part of. For example, if an action needs to be taken only for jobs of a particular pipeline, the pipeline name in the payload will allow the receiver to distinguish which pipeline the job belongs to, and accordingly perform the required action.

gitlab-com/gl-infra/delivery#2754 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Reuben Pereira

Merge request reports