Bug 697819 - fix source file links in TPS emails, a=testonly, DONTBUILD, CLOSED TREE
authorJonathan Griffin <jgriffin@mozilla.com>
Tue, 01 Nov 2011 14:16:31 -0700
changeset 79651 1f53ea65f270e5a4ec87b0008433b7a77fef833a
parent 79650 d23278e1fe195f83285444b1cc821dc2a55e70b4
child 79652 7abdcb077c9e3a8a04e2d6da6a3e905007a3c858
push id3089
push usermak77@bonardo.net
push dateThu, 03 Nov 2011 09:47:29 +0000
treeherdermozilla-inbound@819d58c7adfe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly, DONTBUILD, CLOSED
bugs697819
milestone10.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 697819 - fix source file links in TPS emails, a=testonly, DONTBUILD, CLOSED TREE
testing/tps/tps/emailtemplate.py
--- a/testing/tps/tps/emailtemplate.py
+++ b/testing/tps/tps/emailtemplate.py
@@ -41,25 +41,25 @@ def GenerateEmailBody(data, numpassed, n
 
   now = datetime.datetime.now()
   builddate = datetime.datetime.strptime(data['productversion']['buildid'],
                                          '%Y%m%d%H%M%S')
   tree = data['productversion']['repository']
 
   row = """
 <tr>
-  <td><a href="http://hg.mozilla.org/services/services-central/file/tip/services/sync/tests/tps/{name}">{name}</a></td>
+  <td><a href="http://hg.mozilla.org/services/services-central/file/default/services/sync/tests/tps/{name}">{name}</a></td>
   <td>{state}</td>
   <td>{message}</td>
 </tr>
 """
 
   rowWithLog = """
 <tr>
-  <td><a href="http://hg.mozilla.org/services/services-central/services/sync/tests/tps/file/tip/{name}">{name}</a></td>
+  <td><a href="http://hg.mozilla.org/services/services-central/file/default/services/sync/tests/tps/{name}">{name}</a></td>
   <td>{state}</td>
   <td>{message} [<a href="{logurl}">view log</a>]</td>
 </tr>
 """
 
   rows = ""
   for test in data['tests']:
     if test.get('logurl'):