[Qa-jenkins-scm] [jenkins.debian.net] 01/01: refactor, bah

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 22:42:12 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 3bbf29797ec728ee82f2ce93398150df00f0e55e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 31 00:41:46 2015 +0200

    refactor, bah
---
 bin/reproducible_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 9529437..dc2b776 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -369,6 +369,8 @@ init() {
 		local ANNOUNCE="Artifacts will be preserved."
 	fi
 	create_results_dirs
+	# used to catch race conditions when the same package is being built by two parallel jobs
+	LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
 	echo "============================================================================="
 	echo "Trying to reproducibly build ${SRCPACKAGE} in ${SUITE} on ${ARCH} now. $ANNOUNCE"
 	echo "============================================================================="
@@ -387,8 +389,6 @@ init() {
 	fi
 	echo "Starting to build ${SRCPACKAGE}/${SUITE}/${ARCH} on $DATE" | tee ${RBUILDLOG}
 	echo "The jenkins build log is/was available at ${BUILD_URL}console" | tee -a ${RBUILDLOG}
-	# used to catch race conditions when the same package is being built by two parallel jobs
-	LOCKFILE="/tmp/reproducible-lockfile-${SUITE}-${ARCH}-${SRCPACKAGE}"
 }
 
 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