Fix slack GA pipeline notification job failure
This commit is contained in:
parent
7c830e90b0
commit
0be8764a79
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue