diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-08-15 09:57:59 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2022-08-15 12:12:30 +0000 |
commit | aa4558cc81904d8ce26a17a66df8a32494bdf0fb (patch) | |
tree | 7549516fd75bec775a86af5ee7d42489bed2ad76 | |
parent | 9fe5761fb3df94f8cb3c8d5346a13aed7008dd44 (diff) |
round-robin.sh (update_baseline): Use email body for commit log message
... instead of generating something similar locally.
Change-Id: I30b22ee05218a8610f2167f0457798a207911756
-rw-r--r-- | round-robin.sh | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/round-robin.sh b/round-robin.sh index 705aeb23..e90a3f55 100644 --- a/round-robin.sh +++ b/round-robin.sh @@ -973,31 +973,15 @@ update_baseline () fi local msg_title="$rev_count: ${rr[update_baseline]}" - - if [ x"${rr[update_baseline]}" = x"force" ]; then - # Create a marker for builds that reset baselines (these are builds - # for bisected regressions). - touch base-artifacts/reset-baseline - fi - - local single_component - single_component=$(print_single_updated_component) - if [ x"$single_component" != x"" ]; then - local single_rev - single_rev=$(git -C $single_component rev-parse HEAD) - msg_title="$msg_title: $single_component-$single_rev" - else - msg_title="$msg_title: $(print_updated_components "-")" - fi msg_title="$msg_title: $(grep -v "^#" ${rr[top_artifacts]}/results | tail -n1)" + msg_title="$msg_title: $(cat ${rr[top_artifacts]}/mail/mail-subject.txt)" git -C base-artifacts add . git -C base-artifacts commit $amend -m "$msg_title BUILD_URL: ${BUILD_URL-$(pwd)} -results: -$(cat ${rr[top_artifacts]}/results)" +$(cat ${rr[top_artifacts]}/mail/mail-body.txt)" # Generate artifacts/jenkins/git-push.sh, which the CI job # will use to update baseline branches in git repos. |