Skip to content
Snippets Groups Projects
Commit 5adba56c authored by Iulian Moraru's avatar Iulian Moraru
Browse files

Backed out changeset 461e0e4986de (bug 1827709) for causing py3 taskgraph failures. CLOSED TREE

parent 8295e41c
No related branches found
No related tags found
No related merge requests found
......@@ -129,12 +129,9 @@ tasks:
- "notify.email.${ownerEmail}.on-failed"
- "notify.email.${ownerEmail}.on-exception"
# Send a notification email if the push comes from try
- $switch:
'repository.project == "try"':
- "notify.email.${ownerEmail}.on-completed"
'repository.project == "mozilla-central"':
# Notify #thunderbird-ci
- "notify.matrix-room.!TWztIhgqLawNpRBZTC:mozilla.org.on-completed"
- $if: 'repository.project == "try"'
then:
"notify.email.${ownerEmail}.on-completed"
else:
$if: 'tasks_for == "action"'
then:
......@@ -313,16 +310,13 @@ tasks:
- $if: 'tasks_for == "hg-push"'
then:
notify:
$merge:
- email:
$merge:
- link:
text: "Treeherder Jobs"
href: "https://treeherder.mozilla.org/#/jobs?repo=${repository.project}&revision=${push.revision}"
- $if: 'repository.project == "try"'
then:
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."
- $if: 'repository.project == "mozilla-central"'
then:
matrixBody: "${repository.project} push notification: https://treeherder.mozilla.org/#/jobs?repo=${repository.project}&revision=${push.revision}"
email:
$merge:
- link:
text: "Treeherder Jobs"
href: "https://treeherder.mozilla.org/#/jobs?repo=${repository.project}&revision=${push.revision}"
# Email for try pushes should thank you for your revision
- $if: 'repository.project == "try"'
then:
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."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment