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

Unified Diff: appengine/chromium_rietveld/codereview/buildbucket.py

Issue 1920833005: Rietveld: schedule presubmit tryjobs with dry_run property. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_rietveld/codereview/buildbucket.py
diff --git a/appengine/chromium_rietveld/codereview/buildbucket.py b/appengine/chromium_rietveld/codereview/buildbucket.py
index 44fdc6b13993fc51bea135688ccb3a9cf83b1a92..f8e3cabfb3b6d5d4f1e1e8dfeb4659c8bbe2bd41 100644
--- a/appengine/chromium_rietveld/codereview/buildbucket.py
+++ b/appengine/chromium_rietveld/codereview/buildbucket.py
@@ -254,6 +254,8 @@ def schedule(issue, patchset_id, builds):
'patchset': patchset_id,
'rietveld': 'https://%s' % self_hostname,
})
+ if 'presubmit' in build['builder'].lower():
+ properties['dry_run'] = 'true'
req['builds'].append({
'bucket': 'master.%s' % build['master'],
'parameters_json': json.dumps({
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698