Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index fd80fb701cfd2822aef83ecb1aa34db5b08280c5..4c87853cb891cea24f77cf9f5a8f13f9bd08b946 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -222,7 +222,8 @@ def _prefix_master(master): |
return '%s%s' % (prefix, master) |
-def trigger_try_jobs(auth_config, changelist, options, masters, category): |
+def trigger_try_jobs(auth_config, changelist, options, masters, category, |
+ override_properties=None): |
rietveld_url = settings.GetDefaultServerUrl() |
rietveld_host = urlparse.urlparse(rietveld_url).hostname |
authenticator = auth.get_authenticator_for_host(rietveld_host, auth_config) |
@@ -266,6 +267,7 @@ def trigger_try_jobs(auth_config, changelist, options, masters, category): |
'testfilter': tests, |
}, |
} |
+ parameters['properties'].update(override_properties) |
nodir
2015/05/14 21:32:27
will crash if override_properties is None, which i
Michael Achenbach
2015/05/14 21:38:49
Done. Or would you like the following better?
para
|
if options.clobber: |
parameters['properties']['clobber'] = True |
batch_req_body['builds'].append( |