Add gerrit commentlink for noop job in zuulv3

The commentlink for noop jobs of zuulv3 is not working properly.
So we add a commentlink match for noop jobs.

Change-Id: Ic9f5812d1fc666e718bd478c5a361ed5ad18a0a7
Depends-On: https://review.openstack.org/#/c/559634/
Signed-off-by: tom-shan <swt0008411@gmail.com>
This commit is contained in:
tom-shan 2018-04-05 11:33:06 +08:00 committed by Joshua Hesketh
parent a299c435ec
commit bc2ce941f1

View File

@ -168,6 +168,11 @@ class openstack_project::review (
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 => 'testresultnoop',
match => '<li>noop noop : SUCCESS([^<]*)</li>',
html => '<li class=\"comment_test\"><span class=\"comment_test_name\">noop</span> <span class=\"comment_test_result\"><span class=\"result_SUCCESS\">SUCCESS</span>$1</span></li>',
},
{
name => 'launchpadbug',
match => '<a href=\"(https://bugs\\.launchpad\\.net/[a-zA-Z0-9\\-]+/\\+bug/(\\d+))[^\"]*\">[^<]+</a>',