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 807039 563dba25c2fbd2b10ebd3ffc78572deaa414cdf6
parent 806725 9941eb8c3b29d152851220b5d9791326c35e1c68
push id113022
push userdmitchell@mozilla.com
push dateWed, 13 Jun 2018 17:02:24 +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+action-task@mozilla.com.on-failed"
+              - "notify.email.taskcluster-notifications+action-task@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}.*'