Update the URL match pattern
The underlying html that we're matching is a little bit different in 2.8 - so support it. Co-Authored-By: Sergey Lukjanov <slukjanov@mirantis.com> Change-Id: I8cb1dfd8c50cb1ca92eacc0aa6b8de1b598e51ef
This commit is contained in:
parent
6d11bc7766
commit
b6dc1af7fb
@ -153,7 +153,7 @@ class openstack_project::gerrit (
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name => 'testresult',
|
name => 'testresult',
|
||||||
match => '<li>([^ ]+) <a href=\"[^\"]+\">([^<]+)</a> : ([^ ]+)([^<]*)</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>',
|
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…
x
Reference in New Issue
Block a user