Bug 1503380 - When running raptor gecko profiling jobs, raptor should still save results to a raptor.json artifact; r=jmaher

Differential Revision: https://phabricator.services.mozilla.com/D10623

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Rob Wood 2018-11-02 08:46:14 +00:00
parent f6a1876e65
commit 9be9ca15c3

View File

@ -567,12 +567,12 @@ class Raptor(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidMixin):
elif '--no-upload-results' not in options:
if not self.gecko_profile:
self._validate_treeherder_data(parser)
if not self.run_local:
# copy results to upload dir so they are included as an artifact
self.info("copying raptor results to upload dir:")
dest = os.path.join(env['MOZ_UPLOAD_DIR'], 'perfherder-data.json')
self.info(str(dest))
self._artifact_perf_data(dest)
if not self.run_local:
# copy results to upload dir so they are included as an artifact
self.info("copying raptor results to upload dir:")
dest = os.path.join(env['MOZ_UPLOAD_DIR'], 'perfherder-data.json')
self.info(str(dest))
self._artifact_perf_data(dest)
class RaptorOutputParser(OutputParser):