From 74739f459f0f97d40f24e02c6000259bc720e41e Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Thu, 4 Dec 2025 23:23:39 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b051cb7..50fa58c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: # List of stages for jobs, and their order of execution - lint - build - clean + - notify lint: stage: lint @@ -45,4 +46,13 @@ cleanup_on_failure_job: stage: clean # Should be in a later stage than the job that might fail when: on_failure # <-- This is the key keyword script: - - rm -rf /home/gitlab-runner/builds/* \ No newline at end of file + - rm -rf /home/gitlab-runner/builds/* + +notify: + stage: notify # Should be in a later stage than the job that might fail + when: on_failure # <-- This is the key keyword + script: + - curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl?message='build job completed' + + + \ No newline at end of file