Skip to content

Notification Job

Send notifications to Slack or Discord when pipeline events occur.

OptionDescription
Typeslack, discord
Webhook URLIncoming webhook URL
MessageCustom message with variables

Use template variables in messages:

Build {{status}} for {{repositoryName}}
Branch: {{branch}}
Commit: {{commitShort}} - {{commitMessage}}
VariableDescription
{{status}}success, failed, cancelled
{{repositoryName}}Repository name
{{branch}}Branch name
{{commit}}Full commit SHA
{{commitShort}}Short SHA (7 chars)
{{commitMessage}}Commit message
{{author}}Commit author
{{runNumber}}Pipeline run number
  1. Go to Slack API
  2. Create an app with Incoming Webhooks
  3. Add webhook to your channel
  4. Copy the webhook URL
  1. Go to Channel Settings > Integrations
  2. Create Webhook
  3. Copy the webhook URL

Notify on success and failure:

┌───────────┐ ┌────────────┐ ┌──────────┐
│Build iOS │────▶│Deploy iOS │────▶│ Notify │
└───────────┘ └────────────┘ └──────────┘