send mail to commiter after gitlab CI stage

心已入冬 提交于 2019-12-12 02:18:25

问题


in my .gitlab-ci.yml I have:

stages:
  - test # unit tests
  - proof # system tests

I want after each run send mail to committer how trigger run (in mail i want to have result of run). Could you tell me how should I do it or send me to same example?


回答1:


To Bartłomiej Bartnicki. It seems jaxxstorm talked about functionality in GitLab, which you can find by the path: your project -> Settings -> Integrations -> scroll down to the Project services and click by the "Emails on push" link and you will see the next settings page:

By enabling this service, you will be able to receive e-mail notifications about the result status of your builds.

In the Recipients area, provide a list of e-mails separated by comma.




回答2:


The easiest way to do this is to use the build emails service



来源:https://stackoverflow.com/questions/41240643/send-mail-to-commiter-after-gitlab-ci-stage

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!