diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2022-09-27 13:07:43 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2022-09-27 16:15:15 +0000 |
commit | 06fa0c4ace56835b2a57f239f792f708ebd93195 (patch) | |
tree | 20c4cda79d408d7aa393fdf612f386cc89b323f5 | |
parent | c0e825b3388736bb0ea55a72b7a69b5189b84154 (diff) |
tcwg-report-stale-rr-jobs.sh: Fix suggestions
Change-Id: I4a450ead2b72d08d924143b321c66a2fdf072796
-rwxr-xr-x | tcwg-report-stale-rr-jobs.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tcwg-report-stale-rr-jobs.sh b/tcwg-report-stale-rr-jobs.sh index 6010b686..d41486c1 100755 --- a/tcwg-report-stale-rr-jobs.sh +++ b/tcwg-report-stale-rr-jobs.sh @@ -470,13 +470,11 @@ print_suggestions () 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" |& tee -a $output - for repo in "${repos[@]}"; do - echo "git push $gitbase/$repo.git \\" |& tee -a $output - for br in "${list_err_noproject[@]}"; do - echo " --delete refs/heads/linaro-local/ci/$br \\" |& tee -a $output - done - echo "" |& tee -a $output + echo "git push $gitbase/base-artifacts.git \\" |& tee -a $output + for br in "${list_err_noproject[@]}"; do + echo " --delete refs/heads/linaro-local/ci/$br \\" |& tee -a $output done + echo "" |& tee -a $output echo "rm -rf $tmpdir" |& tee -a $output fi } |