From 13dec1254ca84af451865edd3a4b2b7cdaa59c4f Mon Sep 17 00:00:00 2001 From: Tom Koscielniak Date: Tue, 23 Jul 2024 09:29:17 +0200 Subject: [PATCH] Fix slack GA pipeline notification job failure --- schutzbot/slack_notification.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schutzbot/slack_notification.sh b/schutzbot/slack_notification.sh index a97f682ccc..5733697bc1 100755 --- a/schutzbot/slack_notification.sh +++ b/schutzbot/slack_notification.sh @@ -7,11 +7,11 @@ if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then exit 0 fi -COMPOSE_ID=$(cat COMPOSE_ID) -COMPOSER_NVR=$(cat COMPOSER_NVR) if [ "$3" == "ga" ]; then MESSAGE="\"GA composes pipeline execution finished with status *$1* $2 \n QE: @atodorov, @jrusz, @tkosciel\n Link to results: $CI_PIPELINE_URL \"" else + COMPOSE_ID=$(cat COMPOSE_ID) + COMPOSER_NVR=$(cat COMPOSER_NVR) MESSAGE="\"Nightly pipeline execution on *$COMPOSE_ID* with *$COMPOSER_NVR* finished with status *$1* $2 \n QE: @atodorov, @jrusz, @tkosciel\n Link to results: $CI_PIPELINE_URL\n For edge testing status please see https://url.corp.redhat.com/edge-pipelines \"" fi