From 10bb7ecbb66444bbd1b2535ad3bd5602437ed2af Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Wed, 4 Dec 2019 10:38:14 +0100 Subject: [PATCH] Update comments messages in abandon_old_reviews script In comments given automatically by abandon_old_reviews.sh script there was still Jenkins mentioned as CI tool. We are using Zuul for very long time and "zuul" user is voting now instead of "jenkins" so this patch updates those commit messages to make this messages correct. TrivialFix Change-Id: Iad119108ea82b47ac2a66b9f6f8a8bb56b57e7b6 --- tools/abandon_old_reviews.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/abandon_old_reviews.sh b/tools/abandon_old_reviews.sh index eaf71dbc2cd..e7c77d9dcd8 100755 --- a/tools/abandon_old_reviews.sh +++ b/tools/abandon_old_reviews.sh @@ -140,13 +140,13 @@ for review in $blocked_reviews; do abandon_review $review $blocked_msg done -# then purge all the reviews that are > 4w with no changes and Jenkins has -1ed +# then purge all the reviews that are > 4w with no changes and Zuul has -1ed failing_reviews=$(ssh review.opendev.org "gerrit query --current-patch-set --format json $PROJECTS status:open age:4w NOT label:Verified>=1,Zuul" | jq .currentPatchSet.revision | grep -v null | sed 's/"//g') failing_msg=$(cat < 4 weeks without comment, and failed Jenkins the last +This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and