From b32e422008b2176fca5b0216ac659dbb447567e8 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 16 Jun 2016 09:27:20 -0700 Subject: [PATCH] Support Zuul as a Gerrit user equivalent to Jenkins Change-Id: I72c76fc1891b56aeb827a86e33f594324dce26bc --- elastic_recheck/elasticRecheck.py | 2 +- recheckwatchbot.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index 593d7b35..67c21f69 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -216,7 +216,7 @@ class Stream(object): return False username = event['author'].get('username', '') - if (username != 'jenkins'): + if (username not in ['jenkins', 'zuul']): return False if not ("Build failed" in diff --git a/recheckwatchbot.yaml b/recheckwatchbot.yaml index 52aacfe2..51c76a77 100644 --- a/recheckwatchbot.yaml +++ b/recheckwatchbot.yaml @@ -18,7 +18,7 @@ channels: messages: # | means don't fold newlines, > means do found_bug: | - I noticed jenkins failed, I think you hit bug(s): + I noticed Zuul failed, I think you hit bug(s): %(bugs)s footer: >- @@ -32,5 +32,5 @@ messages: us classify these issues so that they can be part of Elastic Recheck http://status.openstack.org/elastic-recheck/ no_bugs_found: >- - I noticed jenkins failed, refer to: + I noticed Zuul failed, refer to: http://docs.openstack.org/infra/manual/developers.html#automated-testing \ No newline at end of file