From f4df4fe250dbb7493de48653fde0186f7b7daa98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Tue, 27 Feb 2024 10:52:41 +0100 Subject: [PATCH] CI: fix notify job --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 105eca849..7aebd6408 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,6 +69,7 @@ notify: rules: - *skip_stable_branches - when: always - script: | - export MESSAGE="Your omnibus-software test pipeline completed" - /usr/local/bin/notify.sh + script: + - set +x + - export GITLAB_TOKEN=$(aws ssm get-parameter --region us-east-1 --name ci.datadog-agent.gitlab_read_api_token --with-decryption --query "Parameter.Value" --out text) + - MESSAGE="Your omnibus-software test pipeline completed" /usr/local/bin/notify.sh