Make inclusion of job log excerpts in pipeline failure notification emails configurable instance-wide (per-group, per-project)
Release notes
Allow the Administrator to determine whether job log excerpts in pipeline failure notification emails are included.
Problem to solve
With GitLab 13.5, we stopped including job log excerpts in pipeline failure notification emails in order to address a few concerns. This feature would allow the Administrator of a GitLab instance to control whether job log excerpts are included in pipeline failure notification emails on a per-instance basis.
Once this has been implemented, it would also be helpful for the inclusion of job logs to be able to be controlled on a per-group and per-project basis. See gitlab-org/gitlab#16969 for more information.
Proposal
This action should be available to Administrator.
Documentation
If implemented, the user-facing and administrator-facing documentation will need to be updated:
- A note in the user-facing GitLab Notification Emails section to note that the administrator can control the content of the pipeline failure notification emails
- A note in the administrator-facing documentation to describe how the administrator can control the content of the pipeline failure notification emails and providing guidance on the consequences of enabling these emails.
Availability & Testing
What does success look like, and how can we measure that?
If this feature has been implemented successfully, a user with the administrator role would be able to enable or disable the inclusion of job log excerpts in pipeline failure notification emails instance-wide.
What is the type of buyer?
Is this a cross-stage feature?
No, I don't believe so.