summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-01-18 04:09:31 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-01-18 19:39:29 -0600
commit07af2dbd6a981d7f7e36f34ff2de287b1835f939 (patch)
tree6aa9fef62144390596ef4c1b8af5397d9c4f2772
parent884c6fecbaa6ded25c5994e4ecac2e11c1ca627c (diff)
tb: pass the list of candidates branches to builbot get command
-rw-r--r--tb/tb_internals.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tb/tb_internals.sh b/tb/tb_internals.sh
index 6e8aed9..fa5b220 100644
--- a/tb/tb_internals.sh
+++ b/tb/tb_internals.sh
@@ -1212,7 +1212,7 @@ select_next_gerrit_task()
GERRIT_TASK_BRANCH=""
GERRIT_TASK_REF=""
GERRIT_TASK_FEATURE=""
- result=$(ssh ${TB_GERRIT_HOST?} buildbot get -p core --id ${TB_ID?} -a ${tb_GERRIT_PLATFORM?} --format BASH)
+ result=$(ssh ${TB_GERRIT_HOST?} buildbot get -p core --id ${TB_ID?} -a ${tb_GERRIT_PLATFORM?} --format BASH ${tb_GERRIT_BRANCHES?})
[ $V ] && echo "Get task result:${result}"
has_task=$(echo "$result" | grep "^GERRIT_TASK_")