Skip to content

Commit

Permalink
Add email notification if release distribution pipeline fails (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm authored Aug 8, 2024
1 parent 5ae0cdb commit 759b226
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .buildkite/release-package-registry-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

env:
DOCKER_REGISTRY: 'docker.elastic.co'
NOTIFY_TO: "[email protected]"

steps:
- label: ":thought_balloon: Notification"
Expand Down Expand Up @@ -44,3 +45,7 @@ steps:
depends_on:
- step: "validate"
allow_failure: false

notify:
- email: "$NOTIFY_TO"
if: "build.state == 'failed' && build.env('BUILDKITE_PULL_REQUEST') == 'false'"

0 comments on commit 759b226

Please sign in to comment.