ci: 更新 Jenkins 部署脚本
- 在 curl命令中添加了代理服务器地址 - 代理地址为 http://192.168.25.110:20171 - 此修改可能用于解决 Telegram API 的网络访问问题
This commit is contained in:
@@ -29,6 +29,7 @@ pipeline {
|
||||
echo 'Deployment finished successfully.'
|
||||
sh """
|
||||
curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage' \\
|
||||
-x http://192.168.25.110:20171\\
|
||||
-H 'Content-Type: application/json' \\
|
||||
-d '{
|
||||
"chat_id": "6779541681",
|
||||
|
||||
Reference in New Issue
Block a user