[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: make more robust

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 22:24:34 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 5278e779cb60cfef20aa8be36e3b0d5069bc2101
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 00:24:12 2015 +0200

    reproducible: make more robust
---
 bin/reproducible_build.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index ec78a04..cfd9e57 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -415,6 +415,8 @@ get_source_package() {
 	DBDREPORT="${SRCPACKAGE}_${EVERSION}.debbindiff.html"
 	DBDTXT="${SRCPACKAGE}_${EVERSION}.debbindiff.txt"
 	BUILDINFO="${SRCPACKAGE}_${EVERSION}_${ARCH}.buildinfo"
+	# used to catch race conditions when the same package is being built by two parallel jobs
+	LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
 }
 
 check_suitability() {
@@ -619,9 +621,6 @@ fi
 
 choose_package  # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS, NOTIFY
 
-# used to catch race conditions when the same package is being built by two parallel jobs
-LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
-
 init
 get_source_package
 

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