File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,19 @@ if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then
88fi
99
1010if [ " $3 " == " ga" ]; then
11- MESSAGE=" \" <$CI_PIPELINE_URL |GA composes pipeline>: *$1 * $2 , cc <@U01CUGX9L68>, <@U04PYMDRV5H>\" "
11+ if [ " $1 " == " FAILED" ]; then
12+ MESSAGE=" \" <$CI_PIPELINE_URL |GA composes pipeline>: *$1 * $2 , cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\" "
13+ else
14+ MESSAGE=" \" <$CI_PIPELINE_URL |GA composes pipeline>: *$1 * $2 \" "
15+ fi
1216else
1317 COMPOSE_ID=$( cat COMPOSE_ID)
1418 COMPOSER_NVR=$( cat COMPOSER_NVR)
15- MESSAGE=" \" <$CI_PIPELINE_URL |Nightly pipeline> ($COMPOSE_ID : $COMPOSER_NVR ): *$1 * $2 , cc <@U01CUGX9L68>, <@U04PYMDRV5H>\" "
19+ if [ " $1 " == " FAILED" ]; then
20+ MESSAGE=" \" <$CI_PIPELINE_URL |Nightly pipeline> ($COMPOSE_ID : $COMPOSER_NVR ): *$1 * $2 , cc <@U01S1KWFMFF>, <@U04PYMDRV5H>\" "
21+ else
22+ MESSAGE=" \" <$CI_PIPELINE_URL |Nightly pipeline> ($COMPOSE_ID : $COMPOSER_NVR ): *$1 * $2 \" "
23+ fi
1624fi
1725
1826curl \
You can’t perform that action at this time.
0 commit comments