Bug 1043880 - Update Treeherder URL to shorter form now
bug 1063411 is fixed
--- a/bin/try_mailer.py
+++ b/bin/try_mailer.py
@@ -120,17 +120,17 @@ Your %(tree)s Server %(task)s (%(revisio
summary = summary.replace('<br>', '')
summary = re.sub("\n\n*", "\n", summary)
text += '%s\n\n' % summary
if log_url:
log_url = log_url.replace('://stage', '://ftp')
text += "The full log for this %(task)s run is available at <a href=\"%(log_url)s\">%(log_url)s</a>.\n\n" % locals()
- text += "For an overview of all results see <a href=\"https://treeherder.mozilla.org/ui/#/jobs?repo=%(tree)s&revision=%(revision)s\">Treeherder</a>.\n" % locals()
+ text += "For an overview of all results see <a href=\"https://treeherder.mozilla.org/#/jobs?repo=%(tree)s&revision=%(revision)s\">Treeherder</a>.\n" % locals()
text += "Alternatively, view them on <a href=\"https://tbpl.mozilla.org/?tree=%(tbpl_tree)s&rev=%(revision)s\">TBPL</a> (soon to be deprecated).\n" % locals()
text = re.sub("\n", "<br>\n", text)
headers = {"In-Reply-To": "<%(branch)s-%(revision)s>" % locals(),
"References": "<%(branch)s-%(revision)s>" % locals(),
}
return dict(
--- a/status/generators.py
+++ b/status/generators.py
@@ -12,17 +12,17 @@ def buildTryChangeMessage(change, packag
msgdict['subject'] = "%(tree)s submission %(revision)s" % locals()
msgdict['headers'] = {"In-Reply-To": "<%(branch)s-%(revision)s>" % locals(),
"References": "<%(branch)s-%(revision)s>" % locals(),
}
msgdict["body"] = """\
Thank you for your try submission. It's the best!
Results will be displayed on Treeherder as they come in:
-https://treeherder.mozilla.org/ui/#/jobs?repo=%(tree)s&revision=%(revision)s
+https://treeherder.mozilla.org/#/jobs?repo=%(tree)s&revision=%(revision)s
Alternatively, view them on TBPL (soon to be deprecated):
https://tbpl.mozilla.org/?tree=%(tbpl_tree)s&rev=%(revision)s
Once completed, builds and logs will be available at:
%(packageDir)s
""" % locals()