Commit 44e05493 authored by nimrod's avatar nimrod
Browse files

Failure notification template.

Notify me on failure.
parent 015535ce
Loading
Loading
Loading
Loading

templates/notify.yml

0 → 100644
+10 −0
Original line number Diff line number Diff line
---
notify on failure:
  stage: .post
  rules:
    when: on_failure
  image: registry.hub.docker.com/curlimages/curl:7.76.1
  script:
    - >-
      curl https://notify.shore.co.il/send -d
      "Pipeline $CI_PIPELINE_ID of $CI_PROJECT_TITLE has failed."