diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/common-functions.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_node_wrapper.sh | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh index 1784c962..b8efa6f6 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -61,7 +61,7 @@ else fi if [ -z "$http_proxy" ]; then case $HOSTNAME in - jenkins|profitbricks-build1-amd64) export http_proxy="http://localhost:3128" ;; + jenkins|profitbricks-build?-amd64) export http_proxy="http://localhost:3128" ;; bpi0|cbxi4pro0|hb0|wbq0) export http_proxy="http://10.0.0.15:8000/" ;; *) echo "unsupported host, exiting." ; exit 1 ;; esac diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh index 574e0fa8..d9768fab 100755 --- a/bin/reproducible_node_wrapper.sh +++ b/bin/reproducible_node_wrapper.sh @@ -109,6 +109,24 @@ 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_pbuilder_testing_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed"; +elif [ "$*" = "reproducible_setup_pbuilder_unstable_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh unstable ; croak "Exec failed"; +elif [ "$*" = "reproducible_setup_pbuilder_experimental_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh experimental ; croak "Exec failed"; +elif [ "$*" = "reproducible_maintenance_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed"; +elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed"; +elif [ "$*" = "reproducible_setup_schroot_unstable_debbindiff_amd64_profitbricks2" ] ; then + exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-unstable-debbindiff unstable debbindiff locales-all ; 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 croak "Command '$*' not found in allowed commands." |