From a4b42f9dac00ebd70f0c23a2ea2c5479013af0cf Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 5 May 2016 19:26:18 +0000 Subject: [PATCH] Revert "Fix URL detection in testresult match" The new regex shows all jobs - but it does not show anymore Success/fail and the job run times. This reverts commit 48e8f7e93739bf6ce50e9087c8085a80c76dcdf1. Change-Id: I99896753342a9082f922df645ece82c5a8af78e7 --- modules/openstack_project/manifests/gerrit.pp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index aa1d9f0ccd..75af9bf12d 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -162,16 +162,8 @@ 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 => '
  • (.+) (.+) : (\\w+) (.*)
  • ', + match => '
  • ([^ ]+) ([^<]+) : ([^ ]+)([^<]*)
  • ', html => '
  • $1 $3$4
  • ', }, {