Integrations guideline
Additional resources
Powered By GitBook
Integrate Spike with Semaphore

Service and Integration

Make sure to make a Buildkite integration and copy the webhook URL.

Using Webhooks with Semaphore

Semaphore provides the option to trigger alerts by filtering by pipeline results

You can specify notifications to be sent only on specific pipeline results.
Available values for the results filter are:
    passed
    failed
    stopped
    canceled
Example YAML configuration:
1
# notify-on-fail.yml
2
3
apiVersion: v1alpha
4
kind: Notification
5
metadata:
6
name: notify-on-fail
7
spec:
8
rules:
9
- name: "Example"
10
filter:
11
projects:
12
- example-project
13
results:
14
- failed
15
notify:
16
webhook:
17
endpoint: https://hooks.spike.sh/********/push-events
Copied!
Create the notification flow above using the following command
sem create -f notify-on-fail.yml
Last modified 2mo ago