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