diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index 75af9bf12d..aa1d9f0ccd 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -162,8 +162,16 @@ class openstack_project::gerrit ( link => 'https://blueprints.launchpad.net/openstack/?searchtext=$2', }, { + # This matches comments from Zuul / 3rd party CI which should + # be in a raw format of: + # + # ( 1 ) ( 2 ) ( 3 ) ( 4 ) + # - test-name http://link.to/test : [PASSED|FAILURE] Some text about the change + # + # Gerrit will convert that to the
  • element + # that we match & rewrite with styles below name => 'testresult', - match => '
  • ([^ ]+) ([^<]+) : ([^ ]+)([^<]*)
  • ', + match => '
  • (.+) (.+) : (\\w+) (.*)
  • ', html => '
  • $1 $3$4
  • ', }, {