Test Gerrit CI comment regex for rel="nofollow"
Now that we're running with a backport of https://gerrit-review.googlesource.com/80320 from upstream, the hyperlinks in comments include a rel="nofollow" parameter. Our regular expression for these entries needs to take that into account, so give it a try on review-dev. Change-Id: Ida090f45cfdfb41c43c4ba1157f0478fc0936a20
This commit is contained in:
parent
96b0693950
commit
da6513a87f
@ -112,8 +112,8 @@ class openstack_project::review_dev (
|
||||
},
|
||||
{
|
||||
name => 'testresult',
|
||||
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>',
|
||||
match => '<li>([^ ]+) <a href=\"[^\"]+\" target=\"_blank\" rel=\"nofollow\">([^<]+)</a> : ([^ ]+)([^<]*)</li>',
|
||||
html => '<li class=\"comment_test\"><span class=\"comment_test_name\"><a href=\"$2\" rel=\"nofollow\">$1</a></span> <span class=\"comment_test_result\"><span class=\"result_$3\">$3</span>$4</span></li>',
|
||||
},
|
||||
{
|
||||
name => 'launchpadbug',
|
||||
|
Loading…
x
Reference in New Issue
Block a user