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
--- 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())