mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-06-20 05:46:00 +00:00
BUILDBOT: Fix Discord reporter to match Buildbot 3.1.0 API
This commit is contained in:
1 parent
b476b9d731
commit
afa4e4470a
1 file changed
+2
-2
@@ -96,8 +96,8 @@ class DiscordFormatter(MessageFormatterBase):
|
||||
return [embed]
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def format_message_for_build(self, mode, buildername, build, master, blamelist):
|
||||
ctx = create_context_for_build(mode, buildername, build, master, blamelist)
|
||||
def format_message_for_build(self, master, build, users=None, mode=None):
|
||||
ctx = create_context_for_build(mode, build, master, users)
|
||||
ctx['build']['results_emoji'] = EMOJIS.get(build['results'], UNKNOWN_EMOJI)
|
||||
ctx['buildbot_title'] = master.config.title
|
||||
ctx['master'] = master
|
||||
|
||||
Reference in new issue
Block a user