send mail to commiter after gitlab CI stage

2.8k views Asked by At

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?

2

There are 2 answers

1
jaxxstorm On

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

0
Aliaksandr Naidzenka On

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:enter image description here

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.