BUG 1500166: notify ciduty by email if a nightly hook fails, r=tomprince a=dlabici
authorDanut Labici <dlabici@mozilla.com>
Tue, 23 Oct 2018 16:17:19 +0300
changeset 490862 cc803b2429d86587fbe6c29fed2e2bfb51f9422e
parent 490857 cb24d2d42554fb0f0f01ee5de3187d19e9985de4
child 490863 0920d2b1122d3e364ab7a49be99788b9596e07b0
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewerstomprince, dlabici
bugs1500166
milestone65.0a1
BUG 1500166: notify ciduty by email if a nightly hook fails, r=tomprince a=dlabici
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -76,16 +76,20 @@ tasks:
                 - "index.gecko.v2.${repository.project}.revision.${push.revision}.taskgraph.decision"
                 - "index.gecko.v2.${repository.project}.pushlog-id.${_pushId}.decision"
                 - "notify.email.${ownerEmail}.on-failed"
                 - "notify.email.${ownerEmail}.on-exception"
                 # Send a notification email if the push comes from try
                 - $if: 'repository.project == "try"'
                   then:
                     "notify.email.${ownerEmail}.on-completed"
+		- "notify.email.ciduty+failedcron@mozilla.com.on-failed"
+		- "notify.email.ciduty+exceptioncron@mozilla.com.on-exception"
+		- "notify.email.sheriffs+failedcron@mozilla.com.on-failed"
+		- "notify.email.sheriffs+exceptioncron@mozilla.com.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:
                 - "notify.email.taskcluster-notifications+action-task@mozilla.com.on-failed"