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.'
|
echo 'Deployment finished successfully.'
|
||||||
sh """
|
sh """
|
||||||
curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage' \\
|
curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage' \\
|
||||||
|
-x http://192.168.25.110:20171\\
|
||||||
-H 'Content-Type: application/json' \\
|
-H 'Content-Type: application/json' \\
|
||||||
-d '{
|
-d '{
|
||||||
"chat_id": "6779541681",
|
"chat_id": "6779541681",
|
||||||
|
|||||||
Reference in New Issue
Block a user