summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-01 15:23:08 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-01 15:23:08 +0200
commit8a0d382d0c969cac03193aedd9e3df614299ed31 (patch)
tree04c81729f163a2eef380732c584b8c7f59660fc7 /bin
parentebc7bc55812d47ab6c15ba665d553ec8f5993483 (diff)
downloadjenkins.debian.net-8a0d382d0c969cac03193aedd9e3df614299ed31.tar.xz
refactor, avoid duplication
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 19c8eaa6..d51ae21a 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -83,24 +83,14 @@ elif [[ "$*" =~ reproducible_setup_pbuilder_experimental_.*_.* ]] ; then
exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh experimental ; croak "Exec failed";
elif [[ "$*" =~ reproducible_maintenance_.*_.* ]] ; then
exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_armhf_bpi0" ] ; then
- exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_armhf_cbxi4pro0" ] ; then
- exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_armhf_hb0" ] ; then
- exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_armhf_wbq0" ] ; then
+elif [[ "$*" =~ reproducible_setup_schroot_unstable_.*_.* ]] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
elif [ "$*" = "reproducible_setup_schroot_testing_amd64_profitbricks1" ] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing testing ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_amd64_profitbricks1" ] ; then
- exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
elif [ "$*" = "reproducible_setup_schroot_experimental_amd64_profitbricks1" ] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-experimental experimental ; croak "Exec failed";
elif [ "$*" = "reproducible_setup_schroot_testing_amd64_profitbricks2" ] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing testing ; croak "Exec failed";
-elif [ "$*" = "reproducible_setup_schroot_unstable_amd64_profitbricks2" ] ; then
- exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable unstable ; croak "Exec failed";
elif [ "$*" = "reproducible_setup_schroot_experimental_amd64_profitbricks2" ] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-experimental experimental ; croak "Exec failed";
fi