summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-09-05 08:04:10 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-09-05 08:04:14 +0200
commit32b09e8b4d7c316ad2f8afeecb1f4511bda95efd (patch)
tree292313f202c694aa6ca46464545b711a4820884f
parent8ffc6ce7782bc9a92e5f24aa23f0e23cbf4aa488 (diff)
round-robin.sh: Fix
... We don't want update_baseline to fail because of dashbaord Change-Id: I2a9ce76674824447e1533ff2c6946d4d3ec4a16c
-rw-r--r--round-robin.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/round-robin.sh b/round-robin.sh
index 9881606c..d4a4c55d 100644
--- a/round-robin.sh
+++ b/round-robin.sh
@@ -1133,8 +1133,10 @@ create_dashboard_push_cmd ()
# Generate artifacts/jenkins/dashboard-push.sh, which the CI job
# will use to update dashboard in squad server.
mkdir -p ${rr[top_artifacts]}/jenkins/
- cp ${rr[top_artifacts]}/dashboard/dashboard-push.sh ${rr[top_artifacts]}/jenkins/dashboard-push.sh
- chmod a+x ${rr[top_artifacts]}/jenkins/dashboard-push.sh
+ if [ -f ${rr[top_artifacts]}/dashboard/dashboard-push.sh ]; then
+ cp ${rr[top_artifacts]}/dashboard/dashboard-push.sh ${rr[top_artifacts]}/jenkins/dashboard-push.sh
+ chmod a+x ${rr[top_artifacts]}/jenkins/dashboard-push.sh
+ fi
}
# Check if current build regressed compared to the baseline