作者 dengyuting

fix

... ... @@ -15,7 +15,7 @@ BUILD_URL = str(os.getenv("BUILD_URL"))
JOB_URL = str(os.getenv("JOB_URL"))
path = os.path.dirname(__file__)
summary_file = os.path.join(path, 'logs','testsuites','opp_testsuites.summary.json')
summary_file = os.path.join(path, 'logs','testsuites','partner_testsuite.summary.json')
def getresult():
try:
... ... @@ -50,7 +50,7 @@ def sendinfo():
'\n测试结果:'+r[0]+ \
'\n执行时间:' +str(r[4])+ \
's\n共执行测试用例:' +str(r[1]) +'\nSUCCESS:' +str(r[2])+ '\nFAIL:' +str(r[3])+ \
'\n测试报告地址:http://jenkins.fjmaimaimai.com/view/test/job/mmm_opp_api_test/HTML_20Report/'
'\n测试报告地址:http://jenkins.fjmaimaimai.com/view/test/job/mmm_partner_api_test/HTML_20Report/'
# data['text']['mentioned_mobile_list'] = ["13559112969","@all"]
# data['text']['content'] = '【opp_api】测试执行结果:' + r[0] + \
# '\n 执行时间:' + str(r[4]) + \
... ...