summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_node_wrapper.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index d9768fab..5baa1791 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -59,7 +59,9 @@ info "remote_host called with $*"
allowed_cmds=()
-if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ] ; then
+if [ "$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_testing_armhf_bpi0" ] ; then
exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
elif [ "$*" = "reproducible_maintenance_armhf_bpi0" ] ; then
exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";