fix(chuanqi_server_jenkins): 移除 Telegram API URL 中的多余参数
- 删除了 Telegram API URL 中不必要的 key 参数 -优化了 Jenkinsfile 中的 curl命令,提高了代码的可读性和效率
This commit is contained in:
@@ -29,7 +29,7 @@ pipeline {
|
||||
success {
|
||||
echo 'Deployment finished successfully.'
|
||||
sh """
|
||||
curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage?key=1e734bc6-ab12-4272-8b15-cf92cb070f5b' \\
|
||||
curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage' \\
|
||||
-H 'Content-Type: application/json' \\
|
||||
-d '{
|
||||
"chat_id": "6779541681",
|
||||
|
||||
Reference in New Issue
Block a user