Bug 1437958 - notify taskcluster-notifications@ on action task failure; r?bstack draft
authorDustin J. Mitchell <dustin@mozilla.com>
Mon, 11 Jun 2018 15:20:37 +0000
changeset 806741 4b8fab17a6d223c83d6392d02e1593b88a1532f2
parent 806725 9941eb8c3b29d152851220b5d9791326c35e1c68
push id112932
push userdmitchell@mozilla.com
push dateMon, 11 Jun 2018 15:21:40 +0000
reviewersbstack
bugs1437958
milestone62.0a1
Bug 1437958 - notify taskcluster-notifications@ on action task failure; r?bstack MozReview-Commit-ID: Fe3gUUmJkny
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -62,18 +62,21 @@ tasks:
               - "notify.email.${ownerEmail}.on-failed"
               - "notify.email.${ownerEmail}.on-exception"
               # These are the old index routes for the decision task.
               # They are still here so external tools that referenced them continue to work.
               - "index.gecko.v2.${repository.project}.latest.firefox.decision"
               - "index.gecko.v2.${repository.project}.revision.${push.revision}.firefox.decision"
             else:
               $if: 'tasks_for == "action"'
-              then: "index.gecko.v2.${repository.project}.pushlog-id.${push.pushlog_id}.actions.${ownTaskId}"
-              else:
+              then:
+              - "notify.email.taskcluster-notifications@mozilla.com.on-failed"
+              - "notify.email.taskcluster-notifications@mozilla.com.on-exception"
+              - "index.gecko.v2.${repository.project}.pushlog-id.${push.pushlog_id}.actions.${ownTaskId}"
+              else:  # cron
               - "index.gecko.v2.${repository.project}.latest.taskgraph.decision-${cron.job_name}"
               - "index.gecko.v2.${repository.project}.latest.firefox.decision-${cron.job_name}"
 
       scopes:
         $if: 'tasks_for == "hg-push"'
         then:
           - 'assume:repo:${repoUrl[8:]}:branch:default'
           - 'queue:route:notify.email.${ownerEmail}.*'