[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible openwrt/lede: not cleaning up nodes tmpdirs

Holger Levsen holger at layer-acht.org
Tue Nov 15 22:09:04 UTC 2016


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 1f33c6a2e362e8d33fae086521a190fab7839c75
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Fri Nov 11 23:44:12 2016 +0100

    reproducible openwrt/lede: not cleaning up nodes tmpdirs
    
    helps debugging
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_lede_common.sh | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index 0dd7de9..3be3efc 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -19,13 +19,14 @@ node_debug() {
 # only called direct on a remote build node
 node_cleanup_tmpdirs() {
 	export TMPDIR=$1
-	cd
-	# (very simple) check we are deleting the right stuff
-	if [ "${TMPDIR:0:26}" != "/srv/reproducible-results/" ] || [ ${#TMPDIR} -le 26 ] ; then
-		echo "Something very strange with \$TMPDIR=$TMPDIR exiting instead of doing cleanup."
-		exit 1
-	fi
-	rm -rf $TMPDIR
+	echo "Not cleaning up to make lynxis happy. Please notify lynxis he must clean up the tempdir $1"
+#	cd
+#	# (very simple) check we are deleting the right stuff
+#	if [ "${TMPDIR:0:26}" != "/srv/reproducible-results/" ] || [ ${#TMPDIR} -le 26 ] ; then
+#		echo "Something very strange with \$TMPDIR=$TMPDIR exiting instead of doing cleanup."
+#		exit 1
+#	fi
+#	rm -rf $TMPDIR
 }
 
 node_create_tmpdirs() {

-- 
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