Commit e8e48e5a authored by Wallen姚文辉's avatar Wallen姚文辉

修复自动化跳转链接错误的问题

parent 48e9dc8c
...@@ -408,7 +408,7 @@ def runresult(): ...@@ -408,7 +408,7 @@ def runresult():
k["success"]=res[0][1] k["success"]=res[0][1]
k["fail"]=res[0][2] k["fail"]=res[0][2]
k["running"],k['result'],k['time']=info["building"],info["result"],time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(float(info["timestamp"])/1000)) k["running"],k['result'],k['time']=info["building"],info["result"],time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(float(info["timestamp"])/1000))
k["reportPath"]=server.auto_jenkins.server+'view/全流程/job/'+each["name"]+'/'+jobreporterpath(soup.find("reportName").text.replace('测试报告',"")) k["reportPath"]='http://192.168.11.185:8080/view/全流程/job/'+each["name"]+'/'+jobreporterpath(soup.find("reportName").text.replace('测试报告',""))
m.append(k) m.append(k)
return jsonify({"code": 200, "message": "请求成功","data":m}),200 return jsonify({"code": 200, "message": "请求成功","data":m}),200
......
...@@ -8,4 +8,6 @@ yagmail==0.15.293 ...@@ -8,4 +8,6 @@ yagmail==0.15.293
Werkzeug==3.0.2 Werkzeug==3.0.2
Authlib==1.3.0 Authlib==1.3.0
APScheduler==3.10.4 APScheduler==3.10.4
pandas==2.2.2
xmindparser==1.0.9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment