Bug 1529921: Pass `scm_level` to mozharness tasks on windows; r=aki
☠☠ backed out by 7a18c5eda62a ☠ ☠
authorTom Prince <mozilla@hocat.ca>
Fri, 22 Feb 2019 23:56:06 +0000
changeset 518571 1c9d01a6fbb89c217ba02247f25183f41c6b1952
parent 518570 fea99e80e86135c24f41b6b65f7eff52df5b442b
child 518572 a7b269adadcae3df271ac132c5d6ab6e6dc78b1e
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1529921
milestone67.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 1529921: Pass `scm_level` to mozharness tasks on windows; r=aki Differential Revision: https://phabricator.services.mozilla.com/D20893
taskcluster/taskgraph/transforms/job/mozharness.py
--- a/taskcluster/taskgraph/transforms/job/mozharness.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness.py
@@ -301,16 +301,18 @@ def mozharness_on_generic_worker(config,
     mh_command = [r'c:\mozilla-build\python\python.exe']
     mh_command.append('\\'.join([r'.\build\src\testing', run['script'].replace('/', '\\')]))
 
     if 'config-paths' in run:
         for path in run['config-paths']:
             mh_command.append(r'--extra-config-path '
                               r'.\build\src\{}'.format(path.replace('/', '\\')))
 
+    mh_command.append("--scm-level {}".format(config.params['level']))
+
     for cfg in run['config']:
         mh_command.append('--config ' + cfg.replace('/', '\\'))
     if run['use-magic-mh-args']:
         mh_command.append('--branch ' + config.params['project'])
     mh_command.append(r'--work-dir %cd:Z:=z:%\build')
     for action in run.get('actions', []):
         mh_command.append('--' + action)