summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 20:28:31 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 20:28:31 +0200
commit75bab5314f12a03dfe4663ce1bfd1ab50534a895 (patch)
treea6c5e4b7daea271c4b92ab2e40114e94377db688
parent9723a9cbf2d72ccf77c06d6d97cab52762ede87e (diff)
downloadjenkins.debian.net-75bab5314f12a03dfe4663ce1bfd1ab50534a895.tar.xz
reproducible: allow rebootstrap jobs on nodes too
-rwxr-xr-xbin/reproducible_node_wrapper.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index b58a8a1b..057ba4d3 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";