From 2f54bf729b63f9cd8f682c8dd61125f0bb043e6a Mon Sep 17 00:00:00 2001 From: kubbo <390378816@qq.com> Date: Sat, 14 Dec 2024 19:22:40 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=20Jenkins=20=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 curl命令中添加了代理服务器地址 - 代理地址为 http://192.168.25.110:20171 - 此修改可能用于解决 Telegram API 的网络访问问题 --- chuanqi_server_jenkins | 1 + 1 file changed, 1 insertion(+) diff --git a/chuanqi_server_jenkins b/chuanqi_server_jenkins index 31e0a91..f0099df 100644 --- a/chuanqi_server_jenkins +++ b/chuanqi_server_jenkins @@ -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",