Merge "Add the ability to filter on project"
This commit is contained in:
commit
4b308c5308
|
@ -79,6 +79,10 @@ class EventProcessor(threading.Thread):
|
|||
not re.match(build_queue_filter,
|
||||
out_event['fields']['build_queue'])):
|
||||
continue
|
||||
project_filter = fileopts.get('project-filter')
|
||||
if (project_filter and
|
||||
not re.match(project_filter, out_event['fields']['project'])):
|
||||
continue
|
||||
output['source_url'] = source_url
|
||||
output['retry'] = fileopts.get('retry-get', False)
|
||||
output['event'] = out_event
|
||||
|
|
Loading…
Reference in New Issue