Bug 1305795 - Set mozinfoJsonUrl buildbot property; r?ted draft
authorGregory Szorc <gps@mozilla.com>
Tue, 27 Sep 2016 14:03:46 -0700
changeset 418562 5054f1cfa74e13d23ff1de4a26a9d644a918277e
parent 418561 20778ec3ffb51c8359ac1a993057323f0f9e6438
child 418563 c62c9fb642e1e365e4951b39ecb76d48b15f1164
push id30707
push userbmo:gps@mozilla.com
push dateWed, 28 Sep 2016 18:02:51 +0000
reviewersted
bugs1305795
milestone52.0a1
Bug 1305795 - Set mozinfoJsonUrl buildbot property; r?ted We're uploading this file but not setting this property. Why, I don't know. I'm porting WPT execution to not rely on common.tests.zip. That will require the test environment to resolve the URL to mozinfo.json. The way we do that in buildbot land is to set a buildbot property with the URL. MozReview-Commit-ID: 6tjiqpovW0W
build/upload.py
--- a/build/upload.py
+++ b/build/upload.py
@@ -176,16 +176,17 @@ def GetUrlProperties(output, package):
         ('testsUrl', lambda m: m.endswith(('tests.tar.bz2', 'tests.zip'))),
         ('robocopApkUrl', lambda m: m.endswith('apk') and 'robocop' in m),
         ('jsshellUrl', lambda m: 'jsshell-' in m and m.endswith('.zip')),
         ('completeMarUrl', lambda m: m.endswith('.complete.mar')),
         ('partialMarUrl', lambda m: m.endswith('.mar') and '.partial.' in m),
         ('codeCoverageURL', lambda m: m.endswith('code-coverage-gcno.zip')),
         ('sdkUrl', lambda m: m.endswith(('sdk.tar.bz2', 'sdk.zip'))),
         ('testPackagesUrl', lambda m: m.endswith('test_packages.json')),
+        ('mozinfoJsonUrl', lambda m: m.endswith('mozinfo.json')),
         ('packageUrl', lambda m: m.endswith(package)),
     ]
     url_re = re.compile(r'''^(https?://.*?\.(?:tar\.bz2|dmg|zip|apk|rpm|mar|tar\.gz|json))$''')
     properties = {}
 
     try:
         for line in output.splitlines():
             m = url_re.match(line.strip())