Skip to main content

notifications

Define the notification rules in the tesmon.config.yml file. Please refer to the Integrations page for more details.

info

Currently only Slack notifications are supported.

Syntax

notifications:
slack:
- status: [<status1>, <status2>, ...]
channels: [<channel1>, <channel2>, ...]
- status: [<status3>, <status4>, ...]
channels: [<channel3>, <channel4>, ...]

Properties

PropertyDescriptionTypeRequired
slackSlack notification configurationobjecttrue
slack.statusList of statuses for notification conditionsarraytrue
slack.channelsList of channels to receive the notificationsarraytrue

List of statuses

  • completed: Indicates a completed status.
  • success: Indicates a successful status.
  • failed: Indicates a failed status.
  • error: Indicates an error status.
  • aborted: Indicates an aborted status.
  • running: Indicates a running status.
  • created: Indicates a created status.
  • queued: Indicates a queued status.
  • cancelled: Indicates a cancelled status.

Example

notifications:
slack:
- status: ["success"]
channels: ["testing-success"]
- status: ["failed", "aborted"]
channels: ["testing-failures"]