From 301f74763405823f88c43fe9510e1096862b1416 Mon Sep 17 00:00:00 2001 From: Ludovic Laffineur lla Date: Fri, 26 May 2017 11:59:52 +0200 Subject: [PATCH] [ADD] runbot: add coverage link in the build button --- runbot/runbot.py | 1 + runbot/runbot.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/runbot/runbot.py b/runbot/runbot.py index 8ab035c7..b82c6c6b 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -1500,6 +1500,7 @@ class RunbotController(http.Controller): 'subject': build.subject, 'server_match': real_build.server_match, 'duplicate_of': build.duplicate_id if build.state == 'duplicate' else False, + 'coverage': build.branch_id.coverage, } @http.route(['/runbot/build/'], type='http', auth="public", website=True) diff --git a/runbot/runbot.xml b/runbot/runbot.xml index c0b18744..e17703a8 100644 --- a/runbot/runbot.xml +++ b/runbot/runbot.xml @@ -291,6 +291,7 @@
  • Logs
  • Full base logs
  • Full all logs
  • +
  • Coverage
  • Branch or pull
  • Commit