Bug 1197224 - Fix buildbot paths on Windows
authorJonathan Griffin <jgriffin@mozilla.com>
Thu, 17 Sep 2015 17:59:47 -0700
changeset 326843 b821cdc017a83aaa489546402640f46c2919e80f
parent 326842 1e42dc42bd3d668c6988c4b8bb7865d562a2c5be
child 326844 35b623bc0b77d6a557c77ed2ee288087d547c227
push id10169
push userdminor@mozilla.com
push dateThu, 28 Jan 2016 13:10:48 +0000
bugs1197224
milestone43.0a1
Bug 1197224 - Fix buildbot paths on Windows
testing/mozharness/configs/mediatests/buildbot_windows_config.py
--- a/testing/mozharness/configs/mediatests/buildbot_windows_config.py
+++ b/testing/mozharness/configs/mediatests/buildbot_windows_config.py
@@ -12,19 +12,25 @@ config = {
     "virtualenv_path": 'venv',
     "exes": {
         'python': 'c:/mozilla-build/python27/python',
         'virtualenv': ['c:/mozilla-build/python27/python', 'c:/mozilla-build/buildbotve/virtualenv.py'],
         'hg': 'c:/mozilla-build/hg/hg',
         'mozinstall': ['%s/build/venv/scripts/python' % os.getcwd(),
                        '%s/build/venv/scripts/mozinstall-script.py' % os.getcwd()],
         'tooltool.py': [sys.executable, 'C:/mozilla-build/tooltool.py'],
-        'gittool.py': [sys.executable, os.path.join(external_tools_path, 'gittool.py')],
+        'gittool.py': [sys.executable,
+                       os.path.join(external_tools_path, 'gittool.py')],
+        'hgtool.py': [sys.executable,
+                      os.path.join(external_tools_path, 'hgtool.py')],
 
     },
+    'env': {
+        'PATH': '%(PATH)s:' + 'C:/mozilla-build/Git/bin',
+    },
 
     "find_links": [
         "http://pypi.pvt.build.mozilla.org/pub",
         "http://pypi.pub.build.mozilla.org/pub",
     ],
     "pip_index": False,
 
     "buildbot_json_path": "buildprops.json",