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

Unified Diff: appengine/findit/waterfall/trigger_swarming_task_pipeline.py

Issue 1778153002: [Findit] Strip platform from step_name before triggering try job. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: . Created 4 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 | « appengine/findit/waterfall/test/trigger_swarming_task_pipeline_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/trigger_swarming_task_pipeline.py
diff --git a/appengine/findit/waterfall/trigger_swarming_task_pipeline.py b/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
index 63c4393bdeb33bd566f1235169677e787ecc253a..d54c3a50005b6c7c918f014b304464f221751a53 100644
--- a/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
+++ b/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
@@ -54,6 +54,7 @@ def _CreateNewSwarmingTaskRequest(
]
# Reset tags for searching and monitoring.
+ ref_name = swarming_util.GetTagValue(ref_request.tags, 'name')
new_request.tags = []
new_request.tags.append('purpose:deflake')
new_request.tags.append('ref_master:%s' % master_name)
@@ -61,6 +62,7 @@ def _CreateNewSwarmingTaskRequest(
new_request.tags.append('ref_buildnumber:%s' % build_number)
new_request.tags.append('ref_stepname:%s' % step_name)
new_request.tags.append('ref_task_id:%s' % ref_task_id)
+ new_request.tags.append('ref_name:%s' % ref_name)
return new_request
« no previous file with comments | « appengine/findit/waterfall/test/trigger_swarming_task_pipeline_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698