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

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

Issue 1820753002: [Findit] Fix bug when displaying try job result for swamring tests. (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 d54c3a50005b6c7c918f014b304464f221751a53..49bb66f2ec97871448c43d6c90228bd7cf81971f 100644
--- a/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
+++ b/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
@@ -158,6 +158,8 @@ class TriggerSwarmingTaskPipeline(BasePipeline):
swarming_task.task_id = task_id
swarming_task.parameters['tests'] = tests
swarming_task.parameters['iterations_to_rerun'] = iterations_to_rerun
+ swarming_task.parameters['ref_name'] = swarming_util.GetTagValue(
+ new_request.tags, 'ref_name')
swarming_task.put()
logging.info('A Swarming task was triggered:%s', task_id)
« 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