Update .gitlab-ci.yml send message to SKILLBOX SLACK

remotes/origin/pm_task_31703
Zolotarev Alexander 9 years ago
parent 86dc06cdcc
commit 9c1ea27c71
  1. 2
      .gitlab-ci.yml

@ -10,6 +10,7 @@ variables:
SLACK_MSG: "Check new website <http://$DOMAIN>"
#SLACK_PAYLOAD: 'payload={\"channel\":\"#'${CHANNEL}'\",\"username\":\"'${SERVER_URL}'\",\"text\":\"'${SLACK_MSG}'\",\"icon_emoji\":\":ghost:\"}'
SLACK_URL: "https://hooks.slack.com/services/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"
SLACL_URL_BRAMA: "https://hooks.slack.com/services/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"
types:
- build
- test
@ -35,6 +36,7 @@ test_app:
- SLACK_MSG="REVIEW app is started on https://$DOMAIN/"
- SLACK_PAYLOAD="payload={\"text\":\"$SLACK_MSG\",\"username\":\"gitlab-ci\"}"
- curl -X POST -d "$SLACK_PAYLOAD" $SLACK_URL
- curl -X POST -d "$SLACK_PAYLOAD" $SLACK_URL_BRAMA
dependencies:
- build_app

Loading…
Cancel
Save