diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-07-30 21:53:50 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-02 16:24:19 +0200 |
commit | 8b2041c98b2a9baab95174dc4b34711e8817d2c7 (patch) | |
tree | 76b9d0b066526a1274759322b666605de174ef68 /bin/jenkins_node_wrapper.sh | |
parent | 35b8965f04802f60f1873f3f606b0efeaf16a837 (diff) | |
download | jenkins.debian.net-8b2041c98b2a9baab95174dc4b34711e8817d2c7.tar.xz |
Revert "reproducible/openwrt|lede: fixup node_wrapper usage"
This reverts commit 8d586d5c9968778c934996aa59626635fc20b99f.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index 15c0e0d3..12f7085c 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -117,10 +117,10 @@ elif [[ "$*" =~ ^reproducible_setup_schroot_experimental_.*_.* ]] ; then exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-experimental experimental ; croak "Exec failed"; elif [[ "$*" =~ ^reproducible_coreboot ]] ; then exec /srv/jenkins/bin/reproducible_coreboot.sh ; croak "Exec failed"; -elif [ "$1" = "/srv/jenkins/bin/reproducible_openwrt.sh" ] && ( [ "$2" = "master" ] || [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then - exec /srv/jenkins/bin/reproducible_openwrt.sh "$2" "$3" "$4" "$5" "$6" "$7" "$8" ; croak "Exec failed"; -elif [ "$1" = "/srv/jenkins/bin/reproducible_lede.sh" ] && ( [ "$2" = "master" ] || [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then - exec /srv/jenkins/bin/reproducible_lede.sh "$2" "$3" "$4" "$5" "$6" "$7" "$8" ; croak "Exec failed"; +elif [[ "$*" =~ ^reproducible_openwrt ]] ; then + exec /srv/jenkins/bin/reproducible_openwrt.sh master ; croak "Exec failed"; +elif [[ "$*" =~ ^reproducible_lede ]] ; then + exec /srv/jenkins/bin/reproducible_lede.sh master ; croak "Exec failed"; elif [[ "$*" =~ ^reproducible_netbsd ]] ; then exec /srv/jenkins/bin/reproducible_netbsd.sh ; croak "Exec failed"; elif [[ "$*" =~ ^reproducible_freebsd ]] ; then |