BUG 1500166 - notify ciduty by email if a nightly hook fails + fix identation issue. r=tomprice
authorDanut Labici <dlabici@mozilla.com>
Thu, 20 Dec 2018 18:39:43 +0200
changeset 511548 89801fda4bb727def3fffc0f1b0a92786731bd71
parent 511547 b80399d7780f213bd7c4c7c71626b56446c170e7
child 511549 d9dea0ec29b029c4bb48f06d1020a514e2efa4bd
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomprice
bugs1500166
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
BUG 1500166 - notify ciduty by email if a nightly hook fails + fix identation issue. r=tomprice
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -70,37 +70,37 @@ tasks:
                 - "index.gecko.v2.${repository.project}.revision.${push.revision}.taskgraph.decision"
                 - "index.gecko.v2.${repository.project}.pushlog-id.${push.pushlog_id}.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"
-                # BUG 1500166 Notify ciduty by email if a nightly hook fails
-                - "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"
                 - "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}.revision.${push.revision}.taskgraph.decision-${cron.job_name}"
                 - "index.gecko.v2.${repository.project}.pushlog-id.${push.pushlog_id}.decision-${cron.job_name}"
                 # list each cron task on this revision, so actions can find them
                 - 'index.gecko.v2.${repository.project}.revision.${push.revision}.cron.${as_slugid("decision")}'
+                # BUG 1500166 Notify ciduty by email if a nightly hook fails
+                - "notify.email.ciduty+failedcron@mozilla.com.on-failed"
+                - "notify.email.ciduty+exceptioncron@mozilla.com.on-exception"
+                - "notify.email.sheriffs+failedcron@mozilla.org.on-failed"
+                - "notify.email.sheriffs+exceptioncron@mozilla.org.on-exception"
                 # These are the old index routes for the decision task.
                 - "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}.*'
@@ -241,9 +241,9 @@ tasks:
               then:
                 notify:
                   email:
                     subject: "Thank you for your try submission of ${push.revision}. It's the best!"
                     content: "Your try push has been submitted. It's the best! Use the link to view the status of your jobs."
                     link:
                       text: "Treeherder Jobs"
                       href: "https://treeherder.mozilla.org/#/jobs?repo=${repository.project}&revision=${push.revision}"
-          
+