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
Property | Description | Type | Required |
---|---|---|---|
slack | Slack notification configuration | object | true |
slack.status | List of statuses for notification conditions | array | true |
slack.channels | List of channels to receive the notifications | array | true |
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"]