summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-09-23 11:07:15 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-09-23 10:08:12 +0000
commit56e5e1a5c7200bc092aeb9f03ef4580800a4b2c0 (patch)
tree80129982b740c7b927bcb1bf40ae0dc30f096c4a
parentb313a25803485c6a06f3443e5d252214fcebf1c4 (diff)
tcwg-report-stale-rr-jobs.sh: separate set-x and suggestion output
Change-Id: I2df56e35b3cc5f87057ec72bd11ecd209415533c
-rwxr-xr-xtcwg-report-stale-rr-jobs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tcwg-report-stale-rr-jobs.sh b/tcwg-report-stale-rr-jobs.sh
index 5bbb7280..6010b686 100755
--- a/tcwg-report-stale-rr-jobs.sh
+++ b/tcwg-report-stale-rr-jobs.sh
@@ -467,17 +467,17 @@ print_suggestions ()
local gitbase="ssh://git.linaro.org/toolchain/ci"
if [ ${#list_err_noproject[@]} -ne 0 ]; then
- echo "1) For deleted projects you may want to DELETE the stored results branches:"
+ echo "1) For deleted projects you may want to DELETE the stored results branches:" |& tee -a $output
tmpdir=/tmp/empty_git
- echo "mkdir -p $tmpdir && cd $tmpdir && git init"
+ echo "mkdir -p $tmpdir && cd $tmpdir && git init" |& tee -a $output
for repo in "${repos[@]}"; do
- echo "git push $gitbase/$repo.git \\"
+ echo "git push $gitbase/$repo.git \\" |& tee -a $output
for br in "${list_err_noproject[@]}"; do
- echo " --delete refs/heads/linaro-local/ci/$br \\"
+ echo " --delete refs/heads/linaro-local/ci/$br \\" |& tee -a $output
done
- echo ""
+ echo "" |& tee -a $output
done
- echo "rm -rf $tmpdir"
+ echo "rm -rf $tmpdir" |& tee -a $output
fi
}
@@ -538,7 +538,7 @@ classify_failures ()
printf " %-28s : %-3s\n" "TOTAL FAILURES" "$count_all" |& tee -a $output
printf "====================================================================================================================================================================\n" |& tee -a $output
printf "SUGGESTIONS : \n" |& tee -a $output
- print_suggestions |& tee -a $output
+ print_suggestions
printf "====================================================================================================================================================================\n" |& tee -a $output
printf "\n" |& tee -a $output