Add pipeline name to Slack pipeline notifications
What does this MR do and why?
Describe in detail what your merge request does and why.
Pipelines can now have custom names set by a new name attribute in .gitlab-ci.yml. This MR adds the name to pipeline notifications sent to Slack/Mattermost. It will help users identify which pipeline generated the notification without having to open the pipeline.
All changes related to the new pipeline name feature are behind the pipeline_name feature flag, including this MR.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| With pipeline name | With long pipeline name | Without pipeline name or feature flag disabled | |
|---|---|---|---|
| Successful pipeline | ![]() |
![]() |
![]() |
| Failed pipeline | ![]() |
![]() |
![]() |
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.
-
I have evaluated the MR acceptance checklist for this MR.





