summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."