Pipeline Notifications

How to configure and use pipeline notifications

Background

When a CI/CD job either passes or fails, a generic message will be sent to Slack to either of these channels:

Direct Message Notifications

The messages in the above channels are very generic and will not @ you in Slack. It can be useful to setup direct notifications for when an MR passes or fails so you can either fix up issues, re-run a flakey test suite or other issue caused by a bad test runner. In general it should make the development process more efficient to receive notifications directly.

To receive direct message notifications in Slack, submit an MR to this repo https://gitlab.com/intellihr/engineering/devops/ci-scripts/ adding your details to this file: https://gitlab.com/intellihr/engineering/devops/ci-scripts/-/blob/master/.ci/slack-notify.yml.

Notification example