Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notify all group members of failed pipelines in GitLab

The Goal is to have everyone get a notification for every failed pipeline (at their discretion). Currently any of us can run a pipeline on this project branch, and the creator of the pipeline gets an email, no one else does. I have tried setting the notification level to watch and custom (with failed pipelines checked) at project, group and global levels without success. The help page regarding notifications says the failed pipeline checkbox for custom notification levels notifies the author of the pipeline (which is the behavior I am experiencing). Is there any way to allow multiple people to get notified of a failed pipeline?

  • Using Gitlab CE v10.0
  • Have Group (security::internal)
  • Group has Project (security::internal)
  • Project has scheduled pipleine (runs nighly)
  • Pipeline runs integration tests (purposely failing)
  • Schedule created by me (schedules have to have an owner)
  • When the automated pipeline runs and fails I get an email(Good)
  • No one else gets email(bad)
like image 959
JynXXedRabbitFoot Avatar asked Sep 28 '17 15:09

JynXXedRabbitFoot


People also ask

How do I send an email notification from GitLab?

Under user settings of GitLab, the group email needs to be added. Once the mail is added and verified, the notification channel can be set up under Notifications. Once this is done, all notifications for that group (or project) will go to the group mail, and everyone in the team will get them.

What does it mean when pipeline Fails on GitLab?

It might be a security vulnerability The code in your most recent commit could be vulnerable, or a dependency could be at risk, either of which would trigger a failed security test and thus a failed pipeline.


1 Answers

Have a look at following Integration:

Project -> Settings -> Integrations -> Pipelines emails

enter image description here

like image 111
Sascha Frinken Avatar answered Oct 23 '22 18:10

Sascha Frinken