|
@@ -69,12 +69,12 @@ def DingTalkSend(info):
|
|
text = (
|
|
text = (
|
|
f"<font color=\'#FFA500\'>[通知] </font>青春重庆-{info}测试报告"
|
|
f"<font color=\'#FFA500\'>[通知] </font>青春重庆-{info}测试报告"
|
|
"\n\n用例运行总数: " + retries_run +
|
|
"\n\n用例运行总数: " + retries_run +
|
|
- "\n\n用例未执行数: " + status_defects +
|
|
|
|
|
|
+ # "\n\n用例未执行数: " + status_defects +
|
|
"\n\n用例通过数量: " + status_passed +
|
|
"\n\n用例通过数量: " + status_passed +
|
|
'''\n\n<font>用例失败数量: </font><font color=\'#FF0000\' size=2>%s</font> \n\n''' +
|
|
'''\n\n<font>用例失败数量: </font><font color=\'#FF0000\' size=2>%s</font> \n\n''' +
|
|
# "\n\n构建地址:\n" + job_url +
|
|
# "\n\n构建地址:\n" + job_url +
|
|
"\n\n测试报告地址: \n" + report_url +
|
|
"\n\n测试报告地址: \n" + report_url +
|
|
- "\n\n播报时间: " + datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) % (status_failed)
|
|
|
|
|
|
+ "\n\n播报时间: " + datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')) % (status_defects)
|
|
|
|
|
|
dd_robot = DingtalkChatbot(url)
|
|
dd_robot = DingtalkChatbot(url)
|
|
|
|
|