Bug 1437958 - notify taskcluster-notifications@ on action task failure; r=bstack
MozReview-Commit-ID: Fe3gUUmJkny
--- 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}.*'