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 48e8f7e937
.
Change-Id: I99896753342a9082f922df645ece82c5a8af78e7
This commit is contained in:
parent
48e8f7e937
commit
a4b42f9dac
@ -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 <li> element
|
||||
# that we match & rewrite with styles below
|
||||
name => 'testresult',
|
||||
match => '<li>(.+) <a href=\".+\" target=\"_blank\">(.+)</a> : (\\w+) (.*)</li>',
|
||||
match => '<li>([^ ]+) <a href=\"[^\"]+\" target=\"_blank\">([^<]+)</a> : ([^ ]+)([^<]*)</li>',
|
||||
html => '<li class=\"comment_test\"><span class=\"comment_test_name\"><a href=\"$2\">$1</a></span> <span class=\"comment_test_result\"><span class=\"result_$3\">$3</span>$4</span></li>',
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user