user2870415
user2870415

Reputation: 41

Can't enable Gitlab notification email for failed pipeline

I want to get email notification for failed pipeline builds.

I tried to configure my GitLab settings as following: https://docs.gitlab.com/ee/workflow/notifications.html

But in my settings, I see the following: enter image description here

There is no check box for Failed/Successful pipeline. For the project I set it to 'Watch:' receive notifications from projects or groups user is a member of.

What am I missing?

Upvotes: 2

Views: 6710

Answers (2)

Guillaume Husta
Guillaume Husta

Reputation: 4385

The link to https://docs.gitlab.com/ee/workflow/notifications.html is no more active.

I found a blog post from 2020 on https://about.gitlab.com/blog/, explaining how to do.
Read it there : https://about.gitlab.com/blog/2020/06/17/notification-on-pipeline-succeeds/

In short, you have checkboxes for custom notification events like :

  • failed pipeline
  • fixed pipeline
  • successful pipeline
  • etc.

To access it, like said in the blog post,

  1. Go to the Project overview page for the project.
  2. Click the "bell" 🔔 (Notification setting) button and select Custom.

And before all, check your global notification email at : https://gitlab.com/-/profile/notifications

Upvotes: 1

Kineolyan
Kineolyan

Reputation: 743

Even if the question is old, the solution is the Gitlab Integration "Pipeline emails" (suggested by this other answer).

In short, in your project, go to Project -> Settings -> Integrations -> Pipelines emails and set the list of emails to notify.

Upvotes: 4

Related Questions