From d9a09806e23ff2bda6d11c7838c8bb5e9bc8ca16 Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Tue, 20 Jul 2021 11:16:58 +0200 Subject: [PATCH] [IMP] runbot: add a static run link for documentation builds --- runbot/models/build.py | 2 ++ runbot/templates/utils.xml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index c68bdb52..6fd43c16 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -217,6 +217,8 @@ class BuildResult(models.Model): database_ids = fields.One2many('runbot.database', 'build_id') + static_run = fields.Char('Static run URL') + @api.depends('params_id.config_id') def _compute_log_list(self): # storing this field because it will be access trhoug repo viewn and keep track of the list at create for build in self: diff --git a/runbot/templates/utils.xml b/runbot/templates/utils.xml index 83dd5726..d41d86c8 100644 --- a/runbot/templates/utils.xml +++ b/runbot/templates/utils.xml @@ -178,7 +178,10 @@ - + +