[Qa-jenkins-scm] [jenkins.debian.net] 05/08: reproducible: maintenance: remove lockfiles related code: we don't use lockfiles anymore
Holger Levsen
holger at moszumanska.debian.org
Fri Oct 9 16:03:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit d3cb6abf9b4173d059f406f800982328a3ed30d4
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Fri Oct 9 15:28:27 2015 +0000
reproducible: maintenance: remove lockfiles related code: we don't use lockfiles anymore
---
bin/reproducible_maintenance.sh | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 3ecb7ef..aed1521 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -304,17 +304,6 @@ if [ ! -z "$PSCALL" ] ; then
fi
-# remove lockfiles older than 2 days
-echo "$(date -u) - Checking for lockfiles older than 2 days."
-LOCKFILES=$(find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec ls -lad {} \; 2>/dev/null|| true)
-if [ ! -z "$LOCKFILES" ] ; then
- echo
- echo "Removed old lockfiles:"
- find /tmp/reproducible-lockfile-* -maxdepth 1 -type f -mtime +2 -exec rm -rv {} \;
- echo
-fi
-
-
# remove artifacts older than 3 days
echo "$(date -u) - Checking for artifacts older than 3 days."
ARTIFACTS=$(find $BASE/artifacts/* -maxdepth 1 -type d -mtime +3 -exec ls -lad {} \; 2>/dev/null|| true)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list