[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: refactor, move delay_start() to before choose_package()

Holger Levsen holger at moszumanska.debian.org
Thu Sep 10 15:31:26 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 b4ab0af1c8a5f66d84fd598f71f4ed3e51638780
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Sep 10 17:30:49 2015 +0200

    reproducible: refactor, move delay_start() to before choose_package()
---
 bin/reproducible_build.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 53c0bdd..0b8eec6 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -376,8 +376,7 @@ choose_package () {
 	fi
 }
 
-init() {
-	delay_start
+init_package_build() {
 	if [ $SAVE_ARTIFACTS -eq 1 ] ; then
 		local ANNOUNCE="Artifacts will be preserved."
 	fi
@@ -684,9 +683,9 @@ elif [ "$2" != "" ] ; then
 	fi
 fi
 
+delay_start
 choose_package  # defines SUITE, PKGID, SRCPACKAGE, SCHEDULED_DATE, SAVE_ARTIFACTS, NOTIFY
-
-init
+init_package_build
 get_source_package
 
 cat ${SRCPACKAGE}_${EVERSION}.dsc | tee -a ${RBUILDLOG}

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