notify:failure:
  stage: notify
  script:
    - curl -X POST --silent --data-urlencode "${FAILED_SLACK_MSG}" ${SLACK_NOTIFICATION_URL}
  when: on_failure
  tags: [shell]

notify:success:
  stage: notify
  script:
    - curl -X POST --silent --data-urlencode "${SUCCESS_SLACK_MSG}" ${SLACK_NOTIFICATION_URL}
  tags: [shell]
