From 32b09e8b4d7c316ad2f8afeecb1f4511bda95efd Mon Sep 17 00:00:00 2001 From: Laurent Alfonsi Date: Mon, 5 Sep 2022 08:04:10 +0200 Subject: round-robin.sh: Fix ... We don't want update_baseline to fail because of dashbaord Change-Id: I2a9ce76674824447e1533ff2c6946d4d3ec4a16c --- round-robin.sh | 6 ++++-- 1 file 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 -- cgit v1.2.3