[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: allow rebootstrap jobs on nodes too

Holger Levsen holger at moszumanska.debian.org
Sun Aug 30 18:28:55 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 75bab5314f12a03dfe4663ce1bfd1ab50534a895
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 30 20:28:31 2015 +0200

    reproducible: allow rebootstrap jobs on nodes too
---
 bin/reproducible_node_wrapper.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index b58a8a1..057ba4d 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -59,7 +59,11 @@ info "remote_host called with $*"
 
 allowed_cmds=()
 
-if [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
+if [ "$1" = "/srv/jenkins/bin/chroot-run.sh" ] && [ "$2" = "sid" ] && [ "$3" = "minimal" ] && [ "$4" = "./bootstrap.sh" ] ; then
+	shift
+	export LC_ALL=C
+	exec /srv/jenkins/bin/chroot-run.sh $@ ; croak "Exec failed";
+elif [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
 	exec /srv/jenkins/bin/reproducible_build.sh $2 $3 $4 ; croak "Exec failed";
 elif   [ "$*" = "reproducible_setup_pbuilder_unstable_armhf_bpi0" ] ; then
 	exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh unstable ; croak "Exec failed";

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