summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-05-31 14:15:29 +0200
committerAndras Timar <andras.timar@collabora.com>2019-06-17 20:49:49 +0200
commit776dfacac65eff820b6f986829067a338d2b62c9 (patch)
tree6dcc9eee5177c97d37e07ee2625d47936514b3e9
parent4ef024b80041f38fde1a1fda18c5f678b3299089 (diff)
configurable tinderbox server email addressHEADmaster
Change-Id: I3cfcc8e96d5e1cab99aa1f444a9516933c129af0 Reviewed-on: https://gerrit.libreoffice.org/73262 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
-rwxr-xr-xtb/tb3
-rw-r--r--tb/tb_internals.sh3
2 files changed, 5 insertions, 1 deletions
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> 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> 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=<absolute_filename> 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