通知 GitLab 中失败的管道的所有组成员 [英] Notify all group members of failed pipelines in GitLab

查看:44
本文介绍了通知 GitLab 中失败的管道的所有组成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目标是让每个人都收到有关每个失败管道的通知(由他们自行决定).目前我们任何人都可以在这个项目分支上运行管道,管道的创建者会收到一封电子邮件,其他人都没有.我尝试在项目、组和全局级别将通知级别设置为 watchcustom(检查失败的管道),但没有成功.关于

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)

解决方案

Have a look at following Integration:

Project -> Settings -> Integrations -> Pipelines emails

这篇关于通知 GitLab 中失败的管道的所有组成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆