You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/02/01 22:26:59 UTC

[trafficserver] branch master updated: Remove the cleanup, it's managed via a cron job instead

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  385a1a2   Remove the cleanup, it's managed via a cron job instead
385a1a2 is described below

commit 385a1a234d62593ef108503792ef1882ce1478a8
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Wed Feb 1 15:26:24 2017 -0700

    Remove the cleanup, it's managed via a cron job instead
---
 ci/jenkins/bin/clang-analyzer.sh | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/ci/jenkins/bin/clang-analyzer.sh b/ci/jenkins/bin/clang-analyzer.sh
index ad50ef2..858e87b 100755
--- a/ci/jenkins/bin/clang-analyzer.sh
+++ b/ci/jenkins/bin/clang-analyzer.sh
@@ -68,20 +68,5 @@ if [ ! -z "$NOCLEAN" ]; then
   ${ATS_MAKE} distclean
 fi
 
-# Cleanup old reports (save the last 10 reports), but only for the CI
-if [ "/tmp" !=  "$output" ]; then
-    cd ${output} || exit -1
-    for old in $(/usr/bin/ls -1t | tail -n +31); do
-	rm -rf $old
-    done
-
-    # Setup the symlink to the latest report
-    rm -f latest
-    ln -s $(/usr/bin/ls -1t | head -1) latest
-
-    # Purge the cached URL
-    curl -o /dev/null -k -s -X PURGE https://ci.trafficserver.apache.org/files/clang-analyzer/latest/
-fi
-
 # Exit with the scan-build exit code (thanks to --status-bugs)
 exit $status

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].