commit c9b62fa32198e08f9ef4d6e67ce1d7756f3d6b4a
parent f252b616f24d053fb417f1af42b2c064aa9d44ca
Author: ms <ms@taler.net>
Date: Fri, 2 Jul 2021 09:22:04 +0200
researching the BB 'Data API' to get logs
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -65,9 +65,11 @@ tipReserveEmails = reporters.MailNotifier(
messageFormatter=reporters.MessageFormatter(
wantSteps=True,
wantLogs=True,
- template="""{% for step in build['steps'] %}
- {{ step['logs'] }}
- {% endfor %}""", # usually one step
+ template="""
+ {% for step in build['steps'] %}
+ {{ logs = yield master.data.get("logs", step['logid'], "contents") }}
+ {{ logs }}
+ {% endfor %}""", # usually one step
subject="tips availability on demo")
)