Bug 1415621: Support checking comm-central in mozharness windows builds. r=dustin
authorTom Prince <mozilla@hocat.ca>
Tue, 24 Oct 2017 13:53:08 -0600
changeset 391035 9dcac9671005e62e7cb6608cdeb39c7b611f1c09
parent 391034 0489e522ece134137434a449539228dad4849678
child 391036 e99a07820f599d62436b9e28c89b7bddabbe47be
push id32859
push userebalazs@mozilla.com
push dateFri, 10 Nov 2017 09:52:02 +0000
treeherdermozilla-central@e9814434b1a9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1415621
milestone58.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 1415621: Support checking comm-central in mozharness windows builds. r=dustin MozReview-Commit-ID: ChFc93tzoEE
taskcluster/taskgraph/transforms/job/mozharness.py
--- a/taskcluster/taskgraph/transforms/job/mozharness.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness.py
@@ -263,16 +263,25 @@ def mozharness_on_generic_worker(config,
         ]
 
     hg_commands = checkout_repo(
         base_repo=env['GECKO_BASE_REPOSITORY'],
         head_repo=env['GECKO_HEAD_REPOSITORY'],
         head_rev=env['GECKO_HEAD_REV'],
         path='.\\build\\src')
 
+    if run['comm-checkout']:
+        hg_commands.extend(
+            checkout_repo(
+                base_repo=env['COMM_BASE_REPOSITORY'],
+                head_repo=env['COMM_HEAD_REPOSITORY'],
+                head_rev=env['COMM_HEAD_REV'],
+                path='.\\build\\src\\comm')
+        )
+
     worker['command'] = []
     if taskdesc.get('needs-sccache'):
         worker['command'].extend([
             # Make the comment part of the first command, as it will help users to
             # understand what is going on, and why these steps are implemented.
             dedent('''\
             :: sccache currently uses the full compiler commandline as input to the
             :: cache hash key, so create a symlink to the task dir and build from