Bug 1459185 Fix filter for email in release-notify-promote; r=me a=tomprince DONTBUILD CLOSED TREE THUNDERBIRD_60_VERBRANCH
authorTom Prince <mozilla@hocat.ca>
Wed, 20 Jun 2018 13:22:26 -0600
branchTHUNDERBIRD_60_VERBRANCH
changeset 477162 2c8aae6167b7024ccecad5d020a2dfa7d5cfbddd
parent 471318 fd5797b0b83a59ef4d2e69a342518eb5b5208173
push id9379
push usermozilla@hocat.ca
push dateWed, 20 Jun 2018 19:25:42 +0000
treeherdermozilla-beta@2c8aae6167b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, tomprince
bugs1459185
milestone60.0
Bug 1459185 Fix filter for email in release-notify-promote; r=me a=tomprince DONTBUILD CLOSED TREE
taskcluster/taskgraph/transforms/release_notifications.py
--- a/taskcluster/taskgraph/transforms/release_notifications.py
+++ b/taskcluster/taskgraph/transforms/release_notifications.py
@@ -35,17 +35,17 @@ def add_notifications(config, jobs):
             message = notifications['message'].format(**format_kwargs)
             emails = [email.format(**format_kwargs) for email in emails]
             # Don't need this any more
             del job['notifications']
 
             # We only send mail on success to avoid messages like 'blah is in the
             # candidates dir' when cancelling graphs, dummy job failure, etc
             job.setdefault('routes', []).extend(
-                ['notify.email.{}.on-success'.format(email) for email in emails]
+                ['notify.email.{}.on-completed'.format(email) for email in emails]
             )
 
             # Customize the email subject to include release name and build number
             job.setdefault('extra', {}).update(
                 {
                    'notify': {
                        'email': {
                             'subject': subject,