diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-08-03 23:58:08 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-08-03 23:58:08 +0200 |
commit | 64a249a4bf39aa14fea28c3c38c90b1fef4ab749 (patch) | |
tree | 94f12b8ba0adf864bc92ab82acfcc2f21a9dcb65 | |
parent | f9076b64f18cee60495cc8cb47cf0c2f9f676c35 (diff) | |
download | jenkins.debian.net-64a249a4bf39aa14fea28c3c38c90b1fef4ab749.tar.xz |
change order, so that 'nojenkins pb4' works
-rwxr-xr-x | deploy_everywhere | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy_everywhere b/deploy_everywhere index 489c2ca8..59ccf59d 100755 --- a/deploy_everywhere +++ b/deploy_everywhere @@ -68,6 +68,9 @@ elif [ "$1" = "check" ] ; then real_command="pgrep -l -a -f _build.sh" reset_clock=false shift +elif [ "$1" = "nojenkins" ]; then + HOSTS="$2" + echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" elif [ "$1" = "only" ] || [ "$1" = "jenkins" ] ; then export HOSTS="root@jenkins.debian.net" case $2 in @@ -82,9 +85,6 @@ elif [ "$1" = "only" ] || [ "$1" = "jenkins" ] ; then 10|pb10) HOSTS="$HOSTS profitbricks-build10-amd64.debian.net" ;; esac echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" -elif [ "$1" = "nojenkins" ]; then - HOSTS="$2" - echo -n "Running j.d.n.git ('$real_command') updates on $HOSTS now" else real_command="$@" echo -n "Running '$real_command' on $HOSTS now." |