diff --git a/testing/mozharness/mozharness/mozilla/building/buildbase.py b/testing/mozharness/mozharness/mozilla/building/buildbase.py index 16d76e6c2ffb..3528543aab16 100755 --- a/testing/mozharness/mozharness/mozilla/building/buildbase.py +++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py @@ -2037,6 +2037,12 @@ or run without that action (ie: --no-{action})" perfherder_data['suites'].append(build_metrics) perfherder_data['suites'].extend(self._load_sccache_stats()) + # Ensure all extra options for this configuration are present. + for opt in self.config.get('perfherder_extra_options', []): + for suite in perfherder_data['suites']: + if opt not in suite.get('extraOptions', []): + suite.setdefault('extraOptions', []).append(opt) + if self.query_is_nightly(): for suite in perfherder_data['suites']: suite.setdefault('extraOptions', []).insert(0, 'nightly')