mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 14:46:44 +00:00
[NOD-282] Fixed Telegram messages not being sent. (#371)
This commit is contained in:
parent
36d5ac189f
commit
e2eca24b33
@ -14,6 +14,9 @@ export ECR_SERVER=${ECR_SERVER:-"$AWS_ACCOUNT_ID.dkr.ecr.$AWS_DEFAULT_REGION.ama
|
|||||||
CF_PARAM=TaskImage
|
CF_PARAM=TaskImage
|
||||||
IMAGE_NAME=${ECR_SERVER}/${SERVICE_NAME}
|
IMAGE_NAME=${ECR_SERVER}/${SERVICE_NAME}
|
||||||
|
|
||||||
|
# Start atd
|
||||||
|
service atd start
|
||||||
|
|
||||||
# Sends a Telegram notification with some details about the failure
|
# Sends a Telegram notification with some details about the failure
|
||||||
# All variables in this function are set by Jenkins
|
# All variables in this function are set by Jenkins
|
||||||
notify_telegram() {
|
notify_telegram() {
|
||||||
|
@ -11,9 +11,6 @@ PR_AUTHOR="$4"
|
|||||||
PR_TITLE="$5"
|
PR_TITLE="$5"
|
||||||
PR_LINK="$6"
|
PR_LINK="$6"
|
||||||
|
|
||||||
# Start atd
|
|
||||||
service atd start
|
|
||||||
|
|
||||||
# Build the failure message
|
# Build the failure message
|
||||||
MESSAGE="*${PR_AUTHOR}*:
|
MESSAGE="*${PR_AUTHOR}*:
|
||||||
Build *FAILED* for pull request '${PR_TITLE}'
|
Build *FAILED* for pull request '${PR_TITLE}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user