summaryrefslogtreecommitdiffstats
path: root/deploy_jdn
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-20 21:40:15 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-20 21:41:24 +0200
commit11045ef5ec0a2a56629369aa7fa3c98a329ce640 (patch)
treed8205cafcfb80873306eb683c177ffea31f6c1a5 /deploy_jdn
parent183e4eb69fcb40da0a9683f927229d68f712695f (diff)
downloadjenkins.debian.net-11045ef5ec0a2a56629369aa7fa3c98a329ce640.tar.xz
refactor, make logic great again
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'deploy_jdn')
-rwxr-xr-xdeploy_jdn4
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy_jdn b/deploy_jdn
index c6490d03..df29573f 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -120,8 +120,10 @@ elif [ "$1" = "check" ] ; then
real_command="pgrep -l -a -f _build.sh"
reset_clock=false
shift
-elif [ "$1" = "" ] || [ "$1" = "jenkins" ] ; then
+elif [ "$1" = "" ] ; then
export HOSTS="root@jenkins.debian.net"
+elif [ "$1" = "jenkins" ] ; then
+ export HOSTS="root@jenkins.debian.net"
shift
for i in $@ ; do
case $i in