mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: allow to disable screencast globaly
This commit is contained in:
parent
b991eb5b70
commit
03b82e712a
@ -397,7 +397,7 @@ class ConfigStep(models.Model):
|
||||
if grep(config_path, "--screenshots"):
|
||||
cmd.add_config_tuple('screenshots', '/data/build/tests')
|
||||
|
||||
if grep(config_path, "--screencasts"):
|
||||
if grep(config_path, "--screencasts") and self.env['ir.config_parameter'].sudo().get_param('runbot.enable_screencast', False)):
|
||||
cmd.add_config_tuple('screencasts', '/data/build/tests')
|
||||
|
||||
cmd.append('--stop-after-init') # install job should always finish
|
||||
|
Loading…
Reference in New Issue
Block a user