Merge "Fix exception on build started event for noop jobs"

This commit is contained in:
Zuul 2021-05-03 21:32:37 +00:00 committed by Gerrit Code Review
commit b83008b90c
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class ExecutorClient(object):
self.builds[uuid] = build self.builds[uuid] = build
if job.name == 'noop': if job.name == 'noop':
started_event = BuildStartedEvent(build.uuid, None) started_event = BuildStartedEvent(build.uuid, {})
self.result_events[pipeline.tenant.name][pipeline.name].put( self.result_events[pipeline.tenant.name][pipeline.name].put(
started_event started_event
) )