Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1437)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py

Issue 2740103008: Change rebaseline-cl and wpt-import to add master name when triggering jobs. (Closed)
Patch Set: git cl try Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
index 1c7ac2579d366ba7ba3cfe8931b6fda8ddde2f62..83f5b8f8a27803cf1714da1eef9d7d450f8308bd 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/git_cl.py
@@ -35,6 +35,18 @@ class GitCL(object):
command += ['--auth-refresh-token-json', self._auth_refresh_token_json]
return self._host.executive.run_command(command, cwd=self._cwd)
+ def trigger_try_jobs(self, builders=None):
+ builders = builders or self._host.builders.all_try_builder_names()
+ if 'android_blink_rel' in builders:
+ self.run(['try', '-b', 'android_blink_rel'])
+ builders.remove('android_blink_rel')
+ # TODO(qyearsley): Stop explicitly adding the master name when
+ # git cl try can get the master name; see http://crbug.com/700523.
+ command = ['try', '-m', 'tryserver.blink']
+ for builder in sorted(builders):
+ command.extend(['-b', builder])
+ self.run(command)
+
def get_issue_number(self):
return self.run(['issue']).split()[2]
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698