Add url_pattern to zuul.conf.
Change-Id: Ib1d05a42e98613e746cbd7865cd97ce25f6a26c0 Reviewed-on: https://review.openstack.org/11940 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: James E. Blair <corvus@inaugust.com>
This commit is contained in:
parent
0c6f4af977
commit
a2c8473fe4
@ -38,6 +38,7 @@ node "jenkins.openstack.org" {
|
||||
jenkins_apikey => hiera('zuul_jenkins_apikey'),
|
||||
gerrit_server => 'review.openstack.org',
|
||||
gerrit_user => 'jenkins',
|
||||
url_pattern => 'http://logs.openstack.org/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,8 @@ class openstack_project::zuul(
|
||||
$jenkins_user,
|
||||
$jenkins_apikey,
|
||||
$gerrit_server,
|
||||
$gerrit_user
|
||||
$gerrit_user,
|
||||
$url_pattern
|
||||
) {
|
||||
|
||||
class { "::zuul":
|
||||
@ -12,6 +13,7 @@ class openstack_project::zuul(
|
||||
jenkins_apikey => $jenkins_apikey,
|
||||
gerrit_server => $gerrit_server,
|
||||
gerrit_user => $gerrit_user,
|
||||
url_pattern => $url_pattern
|
||||
}
|
||||
|
||||
file { "/etc/zuul/layout.yaml":
|
||||
|
@ -3,7 +3,8 @@ class zuul (
|
||||
$jenkins_user,
|
||||
$jenkins_apikey,
|
||||
$gerrit_server,
|
||||
$gerrit_user
|
||||
$gerrit_user,
|
||||
$url_pattern
|
||||
) {
|
||||
$packages = ["python-webob",
|
||||
"python-daemon",
|
||||
|
@ -14,3 +14,4 @@ log_config=/etc/zuul/logging.conf
|
||||
state_dir=/var/lib/zuul
|
||||
git_dir=/var/lib/zuul/git
|
||||
push_change_refs=true
|
||||
url_pattern=<%= url_pattern %>
|
||||
|
Loading…
Reference in New Issue
Block a user