diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-30 18:27:31 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-30 18:27:31 +0200 |
commit | f09422b5f602750b97ac615a9639210f98ad1b76 (patch) | |
tree | 742440c6e3317f774219147fa1bf4fecc8764137 /bin | |
parent | b2b07f9af9bf469beeb8b0f52b0a5ba2cbad9d36 (diff) | |
download | jenkins.debian.net-f09422b5f602750b97ac615a9639210f98ad1b76.tar.xz |
reproducible: allow to run _build.sh (1|2)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_node_wrapper.sh | 4 |
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"; |