Integrate Spike with Semaphore
Make sure to add a Semaphore integration and copy the webhook URL.
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:
# notify-on-fail.yml
apiVersion: v1alpha
kind: Notification
metadata:
name: notify-on-fail
spec:
rules:
- name: "Example"
filter:
projects:
- example-project
results:
- failed
notify:
webhook:
endpoint: https://hooks.spike.sh/********/push-events
Create the notification flow above using the following command
sem create -f notify-on-fail.yml