summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-01-28 09:47:21 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-01-28 16:02:39 +0000
commite69a96373768534eefb0b05244f1b61fbbc75ba3 (patch)
tree830894c20e5af29c7c786ca99c816c9e5f83cb42
parente9dc86fb7f7752b3b86735763c4b58d917a4c373 (diff)
tcwg_kernel-bisect.sh: Add configuration details to the email body
Add an excerpt from manifest listing git URLs and branches (and avoid entries like rr[gcc_url]="no_gcc_url"). E.g., === Configuration details: rr[llvm_url]="https://github.com/llvm/llvm-project.git" rr[llvm_branch]="master" rr[linux_url]="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" rr[linux_branch]="master" === Also, don't include bisection range in the email body, since it's not really useful. Change-Id: I3a2d54968708db0fbd98bbc724449c06694fa92f
-rwxr-xr-xtcwg_kernel-bisect.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tcwg_kernel-bisect.sh b/tcwg_kernel-bisect.sh
index 196633a4..b5d2a7b2 100755
--- a/tcwg_kernel-bisect.sh
+++ b/tcwg_kernel-bisect.sh
@@ -250,7 +250,7 @@ if [ -f $artifacts/first-bad ]; then
ln -f -s "build-$last_good.sh" "$artifacts/manifests/build-last_good.sh"
cat >> $artifacts/jenkins/mail-body.txt <<EOF
-Successfully identified regression in CI configuration $ci_config for $current_project between bad_rev $bad_rev and baseline_rev $baseline_rev .
+Successfully identified regression in $current_project for CI configuration $ci_config.
Culprit:
<cut>
@@ -264,12 +264,15 @@ else
bad_name="bad"
bad_sha1="$bad_rev"
cat >> $artifacts/jenkins/mail-body.txt <<EOF
-Could not identify regression in CI configuration $ci_config for $current_project between bad_rev $bad_rev and baseline_rev $baseline_rev down to a single commit. See 'Bisect log' in the links below for bisection details.
+Could not identify regression in $current_project for CI configuration $ci_config. See 'Bisect log' in the links below for bisection details.
EOF
fi
cat >> $artifacts/jenkins/mail-body.txt <<EOF
+Configuration details:
+$(cat $artifacts/manifests/build-baseline.sh | grep '_url]\|_branch]' | grep -v '="no_')
+
Results regressed from (for $good_name == $good_sha1)
<cut>