From 776dfacac65eff820b6f986829067a338d2b62c9 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Fri, 31 May 2019 14:15:29 +0200 Subject: configurable tinderbox server email address Change-Id: I3cfcc8e96d5e1cab99aa1f444a9516933c129af0 Reviewed-on: https://gerrit.libreoffice.org/73262 Reviewed-by: Andras Timar Tested-by: Andras Timar --- tb/tb | 3 +++ tb/tb_internals.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tb/tb b/tb/tb index 46685cc..45a1a9e 100755 --- a/tb/tb +++ b/tb/tb @@ -173,6 +173,9 @@ TB_TINDERBOX_BRANCH= Name associated with a branch on the tinderbox server build report. The server only recognize a preset list of such names and they do not necessarily match your local branch names. This is a tb-mode only parameter. This is ignored in gerrit mode. +TB_TINDERBOX_EMAIL= Email address of the tinderbox server. By default it is + "tinderbox@gimli.documentfoundation.org". + This is a tb-mode only parameter. This is ignored in gerrit mode. TB_TRIGGER_FILE= This is the location of a 'trigger' file. If specified the existence of that file will be tested, and a build for the associated branch diff --git a/tb/tb_internals.sh b/tb/tb_internals.sh index 7f7cc04..232977c 100644 --- a/tb/tb_internals.sh +++ b/tb/tb_internals.sh @@ -827,7 +827,7 @@ tinderbox: END echo "$message_content" | send_mail_msg "${tb_BRANCH_AUTHOR}" "${subject?}" "${xtinder?}" '' "${gzlog}" fi else - echo "$message_content" | send_mail_msg "tinderbox@gimli.documentfoundation.org" "${subject?}" "${xtinder?}" '' "${gzlog}" + echo "$message_content" | send_mail_msg "${TB_TINDERBOX_EMAIL?}" "${subject?}" "${xtinder?}" '' "${gzlog}" fi } @@ -1223,6 +1223,7 @@ set_factory_default() { TB_INCREMENTAL= TB_GERRIT_HOST="logerrit" + TB_TINDERBOX_EMAIL="tinderbox@gimli.documentfoundation.org" TB_POLL_DELAY=120 TB_POST_BUILD_DELAY=15 TB_BIBISECT=0 -- cgit v1.2.3