Update Jenkinsfile

This commit is contained in:
AlexandrKharitonov 2021-06-04 14:23:16 +03:00
parent 65af9d0a9f
commit c329524c32

View File

@ -73,7 +73,7 @@ pipeline {
$CHAT_ID = "$Env:TEL_CHAT"
$URL = "https://api.telegram.org/bot$TOKEN/sendMessage"
if ( $Env:BRANCH_NAME -eq "production_deploy") {
#Invoke-WebRequest -Uri $URL -Body @{chat_id=$CHAT_ID; text=$MESSAGE} -UseBasicParsing
Invoke-WebRequest -Uri $URL -Body @{chat_id=$CHAT_ID; text=$MESSAGE} -UseBasicParsing
}
'''
}