summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-06-30 09:07:37 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-06-30 09:45:22 +0200
commitea3cd249d775f01cabe301e19985d098529bd6ec (patch)
treea4094a611e5acd0a466027bb780461d996fd03fb
parent53b84c4d7eb0c8562af0f2fbb527a8b0f79397dd (diff)
tcwg_bmk-build.sh: check existance of ssh_host/ssh_port when necessary
Change-Id: I0c7a2acb712bf8146639eb60cbeffbb05f7078e9
-rwxr-xr-xtcwg_bmk-build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index c1adff7c..9ab9d244 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -10,7 +10,7 @@ scripts=$(dirname $0)
convert_args_to_variables "$@"
-obligatory_variables rr[ci_project] rr[ci_config] ssh_host ssh_port
+obligatory_variables rr[ci_project] rr[ci_config]
declare -A rr
# Execution mode: baseline, bisect, jenkins-full
@@ -167,6 +167,8 @@ run_step_init "$start_at" "$finish_at" "${rr[top_artifacts]}" "$verbose"
benchmark ()
{
+ obligatory_variables ssh_host ssh_port
+
(
set -euf -o pipefail