From ca2da94e6270e7046482ebfbcbac832783c79e4a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 22 Jan 2021 10:45:37 +0000 Subject: [PATCH] Add mail notification example Signed-off-by: Richard Purdie --- default_mail.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 default_mail.txt diff --git a/default_mail.txt b/default_mail.txt new file mode 100644 index 0000000..bd72af4 --- /dev/null +++ b/default_mail.txt @@ -0,0 +1,27 @@ +The Yocto Project Autobuilder has detected a {{ status_detected }} on +builder {{ buildername }}. +{% if build.properties.swat_monitor[0] %} +These build failures need to be triaged by the Swat team. +{% else %} +These build failures no not need to be triaged by the Swat team.y +{% endif %} + +{{ buildername }} on the branch {{ build.properties.branch[0] }} was +started by {{ build.properties.get('owner', ['the scheduler'])[0]}}. +{% if build.properties.reason is defined %} +Build notes: {{ build.properties.reason[0] }} +{% endif %} +Full details are available at: + {{ build_url }} + +{% if build.properties.yp_build_revision is defined %} +The error reports are available at: + http://errors.yoctoproject.org/Errors/Latest/?type=commit&filter={{ build.properties.yp_build_revision[0] }} +{% endif %} +Build Log: https://wiki.yoctoproject.org/wiki/BuildLog#{{ build.buildid }} + +{{ summary }} + +Sincerely, + - Yocto Project Autobuilder +