[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin-deployment] branch master updated: reduce notification text
From: |
gnunet |
Subject: |
[libeufin-deployment] branch master updated: reduce notification text |
Date: |
Wed, 27 Jan 2021 16:05:49 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin-deployment.
The following commit(s) were added to refs/heads/master by this push:
new e935c28 reduce notification text
e935c28 is described below
commit e935c28f7636b89e016aee8a76d16aea91f11497
Author: MS <ms@taler.net>
AuthorDate: Wed Jan 27 16:05:41 2021 +0100
reduce notification text
---
buildbot/master.cfg | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 6a996f4..497eb85 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -135,13 +135,21 @@ c["buildbotURL"] = "https://buildbot.libeufin.tech/"
BUILDER_LIST = ["all-builder"]
+def writeEmail(mode, name, build, results, master_status):
+ from buildbot.status.builder import Results
+ result = Results[results]
+ ret = dict(subject=f"libeufin build: {result})
+ if result != "success":
+ ret.append(dict(body="See: " + master_status.getURLForThing(build)))
+ return ret
+
emailNotifier = reporters.MailNotifier(
fromaddr="libeufin-build@taler.net",
sendToInterestedUsers=False,
mode=("change"),
builders=("all-builder"),
extraRecipients=["libeufin@taler.net"],
- subject="Libeufin build."
+ messageFormatter=writeEmail
)
c["services"] = [emailNotifier]
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin-deployment] branch master updated: reduce notification text,
gnunet <=