File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -289,33 +289,13 @@ def send_metrics_md_report_in_bitbucket(
289289
290290 headers = {"Accept" : "application/json" , "Content-Type" : "application/json" }
291291
292- html_artifact_url = (
293- "https://bitbucket.org/tim-schneider-vector/"
294- "pointofsales-v2/addons/bitbucket-build/111/"
295- "artifacts/reports/html/PointOfSales_Manage_aggregate_report.html"
296- )
297-
298- summary_with_link = (
299- summary + "\n \n ---\n \n "
300- "[View full HTML report →]({})" .format (html_artifact_url )
301- )
302-
303- report_payload = {
304- "title" : "Metrics Report" ,
305- "details" : summary_with_link ,
306- "report_type" : "TEST" ,
307- "reporter" : "VectorCAST" ,
308- "logo_url" : "https://raw.githubusercontent.com/jenkinsci/vectorcast-execution-plugin/master/src/main/webapp/icons/vector_favicon.png" ,
309- "result" : "PASSED"
310- }
311-
312292 report_payload = {
313293 "title" : "Metrics Report" ,
314294 "details" : summary ,
315295 "report_type" : "TEST" ,
316296 "reporter" : "VectorCAST" ,
317297 "logo_url" : "https://raw.githubusercontent.com/jenkinsci/vectorcast-execution-plugin/master/src/main/webapp/icons/vector_favicon.png" ,
318- "link" : html_artifact_url
298+ "link" : link
319299 }
320300
321301 sendData = json .dumps (report_payload , ensure_ascii = False ).encode (encFmt , "replace" )
You can’t perform that action at this time.
0 commit comments