Add gerrit_strip_branch_ref option

Change-Id: Id388274a7b628ad40a0e943087ec82596791c982
See: I012485065e0fd8692e4f2ef787dd0a62be303314
This commit is contained in:
James E. Blair 2017-09-19 07:51:34 -07:00
parent be57d371d8
commit 1f43ca60a9
2 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class zuul (
$gerrit_server = '',
$gerrit_user = '',
$gerrit_baseurl = '',
$gerrit_strip_branch_ref = '',
$zuul_ssh_private_key = '',
$layout_file_name = 'layout.yaml',
$zookeeper_hosts = '127.0.0.1:2181',

View File

@ -14,6 +14,9 @@ sshkey=/var/lib/zuul/ssh/id_rsa
<% if @gerrit_baseurl != "" -%>
baseurl=<%= @gerrit_baseurl %>
<% end -%>
<% if @gerrit_strip_branch_ref != "" -%>
strip_branch_ref=<%= @gerrit_strip_branch_ref %>
<% end -%>
<% end -%>
[zuul]