aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-10-27 08:00:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-27 08:00:14 -0700
commit74d8cc99929fffa9be8b5cfc8d8616aa79322c60 (patch)
treed5d1ce06b8ec24d33497129e8cb33b0aaff32ec1 /infra
parent96b38426b625b94489fe7ea237d79f9f9a5b406d (diff)
recipes: Fix missing patch_set property
NOTREECHECKS=true BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2450403005 Review-Url: https://codereview.chromium.org/2450403005
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json3
-rw-r--r--infra/bots/recipes/swarm_trigger.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json b/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json
index c4b758599b..bcff912b23 100644
--- a/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json
+++ b/infra/bots/recipes/swarm_trigger.expected/recipe_with_gerrit_patch.json
@@ -371,6 +371,7 @@
"--workdir",
"../../..",
"swarm_compile",
+ "patch_set=2",
"repository=skia",
"buildername=Build-Ubuntu-GCC-x86_64-Debug-Trybot",
"mastername=client.skia.compile",
@@ -649,6 +650,7 @@
"--workdir",
"../../..",
"swarm_test",
+ "patch_set=2",
"repository=skia",
"buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot",
"mastername=client.skia",
@@ -892,6 +894,7 @@
"--workdir",
"../../..",
"upload_dm_results",
+ "patch_set=2",
"repository=skia",
"buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot",
"mastername=client.skia",
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index 2869552490..e9ec2224f5 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -215,6 +215,7 @@ def trigger_task(api, task_name, builder, master, slave, buildnumber,
properties['patch_storage'] = api.properties['patch_storage']
properties['repository'] = api.properties['repository']
properties['patch_ref'] = api.properties['patch_ref']
+ properties['patch_set'] = api.properties['patch_set']
properties['patch_issue'] = api.properties['patch_issue']
else:
properties['issue'] = str(api.properties['issue'])