summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-04 12:50:16 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-08-04 13:21:49 +0000
commit1579de7f82e0feb59c74710b9059bd5ac7d59378 (patch)
treed5cc7d684a850507c2d40943feab20a75950fbe6
parentb05a0b4c00a6e995b58b77c95b90a6320bf3eb33 (diff)
downloadjenkins-scripts-1579de7f82e0feb59c74710b9059bd5ac7d59378.tar.gz
round-robin-bisect.sh: Move "rr" declaration earlier
... so that we can use it in the "@@ manifest" option. Change-Id: Ie84906bb1fe81e50090d8f593618185b63b439ab
-rwxr-xr-xround-robin-bisect.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/round-robin-bisect.sh b/round-robin-bisect.sh
index 9b94b715..8e682cd5 100755
--- a/round-robin-bisect.sh
+++ b/round-robin-bisect.sh
@@ -13,6 +13,8 @@ artifacts=$(pwd)/$rel_artifacts
fresh_dir $artifacts "$artifacts/manifests/*" "$artifacts/jenkins/*"
+declare -A rr
+
# Process bisect-only args
convert_args_to_variables "$@"
shift "$SHIFT_CONVERTED_ARGS"
@@ -29,7 +31,6 @@ convert_args_to_variables ^^ $reproduce_bisect %% $artifacts/manifests/build-par
$reproduce_bisect || manifest_pop
obligatory_variables rr[ci_project] rr[ci_config]
-declare -A rr
verbose="${verbose-true}"