summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-19 10:00:46 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-19 10:00:46 +0100
commit1147b2b80b723fe2c85f9a65a17da89c4252fb46 (patch)
tree01a5d3b859f7bdf4686d301529289d7df1ec6896 /bin
parent89a95aa07ad805f3cdc2bb047089b2c612a5b754 (diff)
downloadjenkins.debian.net-1147b2b80b723fe2c85f9a65a17da89c4252fb46.tar.xz
reproducible: put the boring output at the end
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintainance.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh
index cbe99ef2..013ae99d 100755
--- a/bin/reproducible_maintainance.sh
+++ b/bin/reproducible_maintainance.sh
@@ -36,16 +36,6 @@ fi
# provide copy for external backups
cp -v $PACKAGES_DB /var/lib/jenkins/userContent/
-# 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 {} \;)
-if [ ! -z "$OLDSTUFF" ] ; then
- echo
- echo "Cleaning jenkins html logs:"
- echo "$OLDSTUFF"
- echo
-fi
-
# delete old temp directories
OLDSTUFF=$(find $REP_RESULTS -maxdepth 1 -type d -name "tmp.*" -mtime +2 -exec ls -lad {} \;)
if [ ! -z "$OLDSTUFF" ] ; then
@@ -166,6 +156,16 @@ if [ ! -z "$PACKAGES" ] ; then
cd -
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 {} \;)
+if [ ! -z "$OLDSTUFF" ] ; then
+ echo
+ echo "Cleaning jenkins html logs:"
+ echo "$OLDSTUFF"
+ echo
+fi
+
if ! $DIRTY ; then
echo "Everything seems to be fine."
echo