From 30506b356efa71e0ef77e36733ac141d4b54eb97 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 13 Aug 2014 11:14:50 -0700 Subject: [PATCH] Special case 'Jenkins' in hideci. So that its comments may also be hidden. We may rename it to OpenStack CI later. Change-Id: I42ab5a19d4717d12b677b599b816f507f7142587 --- modules/openstack_project/files/gerrit/hideci.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/gerrit/hideci.js b/modules/openstack_project/files/gerrit/hideci.js index 36542c848f..c31ae48f7e 100644 --- a/modules/openstack_project/files/gerrit/hideci.js +++ b/modules/openstack_project/files/gerrit/hideci.js @@ -15,7 +15,7 @@ // this regex matches the hash part of review pages var hashRegex = /^\#\/c\/[\/\d]+$/ // this regex matches CI comments -var ciRegex = / CI$/ +var ciRegex = /^(.* CI|Jenkins)$/ // this regex matches "Patch set #" var psRegex = /^Patch Set (\d+):/