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:
Monty Taylor 2014-04-28 19:03:23 -07:00 committed by Sergey Lukjanov
parent 6d11bc7766
commit b6dc1af7fb

View File

@ -153,7 +153,7 @@ class openstack_project::gerrit (
},
{
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>',
},
{