summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-08-03 23:58:08 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-03 23:58:08 +0200
commit64a249a4bf39aa14fea28c3c38c90b1fef4ab749 (patch)
tree94f12b8ba0adf864bc92ab82acfcc2f21a9dcb65
parentf9076b64f18cee60495cc8cb47cf0c2f9f676c35 (diff)
downloadjenkins.debian.net-64a249a4bf39aa14fea28c3c38c90b1fef4ab749.tar.xz
change order, so that 'nojenkins pb4' works
-rwxr-xr-xdeploy_everywhere6
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."