正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -15,7 +15,7 @@ BUILD_URL = str(os.getenv("BUILD_URL")) | @@ -15,7 +15,7 @@ BUILD_URL = str(os.getenv("BUILD_URL")) | ||
15 | JOB_URL = str(os.getenv("JOB_URL")) | 15 | JOB_URL = str(os.getenv("JOB_URL")) |
16 | 16 | ||
17 | path = os.path.dirname(__file__) | 17 | path = os.path.dirname(__file__) |
18 | -summary_file = os.path.join(path, 'logs','testsuites','opp_testsuites.summary.json') | 18 | +summary_file = os.path.join(path, 'logs','testsuites','partner_testsuite.summary.json') |
19 | 19 | ||
20 | def getresult(): | 20 | def getresult(): |
21 | try: | 21 | try: |
@@ -50,7 +50,7 @@ def sendinfo(): | @@ -50,7 +50,7 @@ def sendinfo(): | ||
50 | '\n测试结果:'+r[0]+ \ | 50 | '\n测试结果:'+r[0]+ \ |
51 | '\n执行时间:' +str(r[4])+ \ | 51 | '\n执行时间:' +str(r[4])+ \ |
52 | 's\n共执行测试用例:' +str(r[1]) +'\nSUCCESS:' +str(r[2])+ '\nFAIL:' +str(r[3])+ \ | 52 | 's\n共执行测试用例:' +str(r[1]) +'\nSUCCESS:' +str(r[2])+ '\nFAIL:' +str(r[3])+ \ |
53 | - '\n测试报告地址:http://jenkins.fjmaimaimai.com/view/test/job/mmm_opp_api_test/HTML_20Report/' | 53 | + '\n测试报告地址:http://jenkins.fjmaimaimai.com/view/test/job/mmm_partner_api_test/HTML_20Report/' |
54 | # data['text']['mentioned_mobile_list'] = ["13559112969","@all"] | 54 | # data['text']['mentioned_mobile_list'] = ["13559112969","@all"] |
55 | # data['text']['content'] = '【opp_api】测试执行结果:' + r[0] + \ | 55 | # data['text']['content'] = '【opp_api】测试执行结果:' + r[0] + \ |
56 | # '\n 执行时间:' + str(r[4]) + \ | 56 | # '\n 执行时间:' + str(r[4]) + \ |
-
请 注册 或 登录 后发表评论