没有bug时不发送消息
This commit is contained in:
@@ -51,7 +51,7 @@ def get_all_bugs_and_send():
|
||||
password = "Qiao123456"
|
||||
|
||||
# 飞书配置
|
||||
feishu_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/c7288ada-1c0c-472a-b652-a475a9586302"
|
||||
feishu_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/3442300f-c839-4aaa-9510-bf173c50851b"
|
||||
keyword = "bug"
|
||||
|
||||
print("获取禅道Bug列表")
|
||||
@@ -321,7 +321,7 @@ def get_all_bugs_and_send():
|
||||
message += f"🔗 禅道地址: {base_url}"
|
||||
|
||||
print(message)
|
||||
send_to_feishu(feishu_webhook, message, keyword)
|
||||
# send_to_feishu(feishu_webhook, message, keyword)
|
||||
|
||||
|
||||
def send_simple_report():
|
||||
@@ -331,7 +331,7 @@ def send_simple_report():
|
||||
password = "Qiao123456"
|
||||
|
||||
# 飞书配置
|
||||
feishu_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/c7288ada-1c0c-472a-b652-a475a9586302"
|
||||
feishu_webhook = "https://open.feishu.cn/open-apis/bot/v2/hook/3442300f-c839-4aaa-9510-bf173c50851b"
|
||||
keyword = "bug"
|
||||
|
||||
print("获取禅道Bug统计")
|
||||
|
||||
Reference in New Issue
Block a user