Update Jenkinsfile
This commit is contained in:
parent
65af9d0a9f
commit
c329524c32
2
.jenkins/Jenkinsfile
vendored
2
.jenkins/Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
'''
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user