diff --git a/python/mozbuild/mozbuild/artifacts.py b/python/mozbuild/mozbuild/artifacts.py index 0051f5e84f459..d837516cb7c93 100644 --- a/python/mozbuild/mozbuild/artifacts.py +++ b/python/mozbuild/mozbuild/artifacts.py @@ -832,7 +832,9 @@ class ThunderbirdMixin(object): trust_domain = "comm" product = "thunderbird" try_tree = "try-comm-central" - + default_candidate_trees = [ + "releases/comm-release", + ] nightly_candidate_trees = [ "comm-central", ] diff --git a/python/mozbuild/mozbuild/test/test_artifacts.py b/python/mozbuild/mozbuild/test/test_artifacts.py index 397b6dbdb28fe..6897136d4a8b6 100644 --- a/python/mozbuild/mozbuild/test/test_artifacts.py +++ b/python/mozbuild/mozbuild/test/test_artifacts.py @@ -87,7 +87,7 @@ def test_candidate_trees_with_beta_version(self): def test_candidate_trees_with_esr_version(self): self._assert_candidate_trees( - version_display="91.3.0", + version_display="91.3.0esr", source_repo="https://hg.mozilla.org/releases/comm-esr91", expected_trees=ThunderbirdMixin.esr_candidate_trees, ) @@ -99,6 +99,13 @@ def test_candidate_trees_with_nightly_version(self): expected_trees=ThunderbirdMixin.nightly_candidate_trees, ) + def test_candidate_trees_with_release_version(self): + self._assert_candidate_trees( + version_display="93.0.1", + source_repo="https://hg.mozilla.org/releases/comm-release", + expected_trees=ThunderbirdMixin.default_candidate_trees, + ) + def test_property_is_cached(self): job = FakeThunderbirdJob() expected_trees = ThunderbirdMixin.esr_candidate_trees