diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-09 15:28:27 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-10-09 15:39:03 +0000 |
commit | d3cb6abf9b4173d059f406f800982328a3ed30d4 (patch) | |
tree | 6f8a81268f8b540add79e74b2d6fba32bda29787 /bin | |
parent | 605b2b71ba35bf22f84add00dd2d11dc24783547 (diff) | |
download | jenkins.debian.net-d3cb6abf9b4173d059f406f800982328a3ed30d4.tar.xz |
reproducible: maintenance: remove lockfiles related code: we don't use lockfiles anymore
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 3ecb7ef6..aed15218 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) |