From 6d36058eba73ee82e33792a1220150a1b135ffca Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 Feb 2015 21:42:41 +0100 Subject: reproducible: just summarize jenkins html log removal --- bin/reproducible_maintainance.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index bbffa231..dd035c9c 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -174,11 +174,10 @@ fi # delete jenkins html logs from reproducible_builder_* jobs as they are mostly redundant # (they only provide the extended value of parsed console output, which we dont need here.) -OLDSTUFF=$(find /var/lib/jenkins/jobs/reproducible_builder_* -maxdepth 3 -mtime +0 -name log_content.html -exec rm -v {} \;) +OLDSTUFF=$(find /var/lib/jenkins/jobs/reproducible_builder_* -maxdepth 3 -mtime +0 -name log_content.html -exec rm -v {} \; | wc -l) if [ ! -z "$OLDSTUFF" ] ; then echo - echo "Cleaning jenkins html logs:" - echo "$OLDSTUFF" + echo "Removed $OLDSTUFF jenkins html logs." echo fi -- cgit v1.2.3-70-g09d2