Bug 1459185 Fix filter for email in release-notify-promote r=jlorenzo a=release CLOSED TREE
authorSimon Fraser <sfraser@mozilla.com>
Fri, 04 May 2018 15:12:35 +0100
changeset 472870 4338d94776b0087684aa091a8293334fe3140500
parent 472869 e6f9ade8bca744a9abaef3efd18e9653ff2c029a
child 472996 01ab1ea4c55a27c4d7912e3920c5a373197052a0
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlorenzo, release
bugs1459185
milestone61.0
Bug 1459185 Fix filter for email in release-notify-promote r=jlorenzo a=release CLOSED TREE Summary: dustin's updating the documentation in https://github.com/taskcluster/taskcluster-notify/pull/33/files Reviewers: jlorenzo Reviewed By: jlorenzo Bug #: 1459185 Differential Revision: https://phabricator.services.mozilla.com/D1132
taskcluster/taskgraph/transforms/release_notifications.py
--- a/taskcluster/taskgraph/transforms/release_notifications.py
+++ b/taskcluster/taskgraph/transforms/release_notifications.py
@@ -53,17 +53,17 @@ def add_notifications(config, jobs):
                 task=job,
                 config=config.__dict__,
                 release_config=release_config,
             )
             subject = notifications['subject'].format(**format_kwargs)
             message = notifications['message'].format(**format_kwargs)
             # we only send these on succces to avoid messages like 'blah is in the
             # candidates dir' when cancelling graphs, dummy job failure, etc
-            routes = ['notify.email.{email_dest}.on-success']
+            routes = ['notify.email.{email_dest}.on-completed']
             # Don't need this any more
             del job['notifications']
         else:
             emails = email_dest
             format_kwargs = dict(
                 label=label,
                 shipping_product=shipping_product,
                 config=config.__dict__,