[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible netbsd: try harder to cleanup properly between builds

Holger Levsen holger at moszumanska.debian.org
Thu Jul 9 15:48:36 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 1ee8bb2c7a9e4b8ae5676dd8bd383a152ee5f604
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 9 17:47:43 2015 +0200

    reproducible netbsd: try harder to cleanup properly between builds
---
 bin/reproducible_netbsd.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index 09532ec..c37353f 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -71,6 +71,9 @@ for MACHINE in $MACHINES ; do
 		./build.sh -j $NUM_CPU -U -u -m ${MACHINE} release
 	# save results in b1
 	save_netbsd_results b1 ${MACHINE}
+	# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type
+	./build.sh -m ${MACHINE} cleandir
+	rm obj/tooldir.* -rf
 	echo "${MACHINE} done, first time."
 done
 
@@ -98,6 +101,9 @@ for MACHINE in $MACHINES ; do
 		./build.sh -j $NEW_NUM_CPU -U -u -m ${MACHINE} release
 	# save results in b2
 	save_netbsd_results b2 ${MACHINE}
+	# cleanup and explicitly delete old tooldir to force re-creation for the next $MACHINE type
+	./build.sh -m ${MACHINE} cleandir
+	rm obj/tooldir.* -r
 	echo "${MACHINE} done, second time."
 done
 

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