summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-18 13:22:21 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2021-07-18 13:24:03 +0000
commite1208d97c48d84616a44921bbe633a9396531198 (patch)
tree6c3d5c63bd5e5c715f4f284639915f07399ac110
parent38387e546855a9c6e9fa1d05732b26c8406c0a5b (diff)
downloadjenkins-scripts-e1208d97c48d84616a44921bbe633a9396531198.tar.gz
round-robin.sh (check_regression): Don't require baseline origin to exist
Change-Id: Iec942da0b614d91afe68b59a57c8b5afbd1c14e0
-rw-r--r--round-robin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/round-robin.sh b/round-robin.sh
index e61edce5..55664c18 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -653,7 +653,9 @@ No reason to rebase base-artifacts."
elif ! [ $score -lt 0 ] 2>/dev/null; then
# Bisect failures in all steps after "-1" step.
local baseline_rev cur_rev
- baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline)
+ baseline_rev=$(git_rev_parse_long $single_component ${rr[baseline_branch]} baseline) &
+ # Baseline branch may not exist, so don't fail if it's not found.
+ wait $! || baseline_rev=""
cur_rev=$(git -C $single_component rev-parse HEAD)
if [ x"$baseline_rev" = x"$cur_rev" ]; then