diff --git a/runbot/models/build_config.py b/runbot/models/build_config.py index 2fd292d3..dae7d3fe 100644 --- a/runbot/models/build_config.py +++ b/runbot/models/build_config.py @@ -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