[NOD-282] Fixed Telegram messages not being sent. (#371)

This commit is contained in:
stasatdaglabs 2019-08-22 13:41:48 +03:00 committed by Svarog
parent 36d5ac189f
commit e2eca24b33
2 changed files with 3 additions and 3 deletions

View File

@ -14,6 +14,9 @@ export ECR_SERVER=${ECR_SERVER:-"$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.ama
CF_PARAM=TaskImage
IMAGE_NAME=${ECR_SERVER}/${SERVICE_NAME}
# Start atd
service atd start
# Sends a Telegram notification with some details about the failure
# All variables in this function are set by Jenkins
notify_telegram() {

View File

@ -11,9 +11,6 @@ PR_AUTHOR="$4"
PR_TITLE="$5"
PR_LINK="$6"
# Start atd
service atd start
# Build the failure message
MESSAGE="*${PR_AUTHOR}*:
Build *FAILED* for pull request '${PR_TITLE}'