Filter out OpenStack Jenkins automated commits from the metrics
This change filters out the jenkins commits from all OpenStack git commit logs. It does so at the point of processing within gitdm, rather than (for example) at the point of capture in the "do-it.sh" script. This is somewhat brittle. If the jenkins commit email address were to change, for example, this would stop filter. Of course that would also be pretty obvious if we started seeing a bunch of Jenkins commits showing up again. Change-Id: I2dc2b26778f3076561405ee3f0de58a8716e75cc Reviewed-on: https://review.openstack.org/31666 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
d087fae129
commit
eb0b49d340
6
gitdm
6
gitdm
|
@ -429,6 +429,12 @@ for logpatch in patches:
|
|||
if FileFilter and p.added == 0 and p.removed == 0:
|
||||
continue
|
||||
|
||||
#
|
||||
# skip over any OpenStack Jenkins automated commits
|
||||
#
|
||||
if p.email == "jenkins@openstack.org":
|
||||
continue
|
||||
|
||||
#
|
||||
# Record some global information - but only if this patch had
|
||||
# stuff which wasn't ignored.
|
||||
|
|
Loading…
Reference in New Issue