summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-28 17:38:16 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-28 17:38:16 +0200
commiteb754ff83763b15becbee65a51c69a01c21e5c7d (patch)
tree726c055ced14cb49ef05963a953cd34831e17010
parent7a5b1ac385b862437e706ed62a844717073eeee6 (diff)
downloadjenkins.debian.net-eb754ff83763b15becbee65a51c69a01c21e5c7d.tar.xz
reproducible Debian: keep the cleanup in maintenance job, its still useful for Archlinux and Fedora
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_build_service.sh2
-rwxr-xr-xbin/reproducible_maintenance.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index f601ec82..9d0539e3 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -267,6 +267,4 @@ done
# - remove cleanup_nodes.sh once this works
# - add support for disabling archs and for shutdown+respan of workers
# - add support for starting/stopping workers for specific archs
-# * more jenkins jobs related:
-# - maintenance job does cleanup of /var/lib/jenkins/jobs/reproducible_builder*/ too
# * document the new setup in README
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 90cb7d7d..cca0d6d3 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -364,7 +364,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
rm $PACKAGES
#
- # delete jenkins html logs from reproducible_builder_* jobs as they are mostly redundant
+ # delete jenkins html logs from reproducible_builder_(fedora|archlinux)* 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 {} \; | wc -l)