Update .gitlab-ci.yml file

This commit is contained in:
2025-12-04 23:42:03 +01:00
parent de9ce2a566
commit f06abe7abb

View File

@@ -54,7 +54,7 @@ notify:
script: script:
- column=':' - column=':'
- echo "${flow_id}" - echo "${flow_id}"
- curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl -d {"message"${column} "build job completed"} - curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=build job completed'
notify2: notify2:
stage: notify # Should be in a later stage than the job that might fail stage: notify # Should be in a later stage than the job that might fail
@@ -62,7 +62,7 @@ notify2:
script: script:
- column=':' - column=':'
- echo "${flow_id}" - echo "${flow_id}"
- curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl -d {"message"${column} "build job failed"} - curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=build job failed'
rules: rules:
- if: '$CI_COMMIT_MESSAGE =~ /build/' - if: '$CI_COMMIT_MESSAGE =~ /build/'