[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: cleanup files before the next build
Holger Levsen
holger at layer-acht.org
Sun Dec 3 12:43:32 UTC 2017
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 cb3a50851b7246c7ea6e6fd6e7737f964706c5de
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Dec 3 12:43:14 2017 +0000
reproducible Arch Linux: cleanup files before the next build
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_build_archlinux_pkg.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index f381584..ba755ca 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -100,6 +100,15 @@ choose_package() {
# very simple locking…
mkdir -p $BASE/archlinux/$REPOSITORY/$SRCPACKAGE
[ ! -f $BASE/archlinux/$REPO/$SRCPACKAGE/pkg.needs_build ] || rm $BASE/archlinux/$REPO/$SRCPACKAGE/pkg.needs_build
+ # clear files from previous builds
+ # FIXME: while this is an improvement over the previous situation, where these files were kept forever
+ # this is still bad, as now, during this build, some files are not accessable on the web anymore.
+ for file in build1.log build2.log build1.version build2.version ; do
+ [ ! -f $BASE/archlinux/$REPO/$SRCPACKAGE/pkg.$file ] || rm $BASE/archlinux/$REPO/$SRCPACKAGE/pkg.$file
+ done
+ for file in $BASE/archlinux/$REPO/$SRCPACKAGE/*BUILDINFO.txt $BASE/archlinux/$REPO/$SRCPACKAGE/*html ; do
+ rm $file || true
+ done
}
first_build() {
--
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