summaryrefslogtreecommitdiffstats
path: root/deploy_everywhere
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-08-03 13:55:36 +0000
committerHolger Levsen <holger@layer-acht.org>2016-08-03 16:06:05 +0200
commit11c2d66c8e2232ae688f978473ebf251de3385c3 (patch)
tree5d5c7ee1d930d113bf9345041ce6cf991f604735 /deploy_everywhere
parent05e1ae10fb88e1dc01971dba6bc2d406efea5281 (diff)
downloadjenkins.debian.net-11c2d66c8e2232ae688f978473ebf251de3385c3.tar.xz
deploy_everywhere: add support for running on a single host without running it on jenkins
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'deploy_everywhere')
-rwxr-xr-xdeploy_everywhere3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy_everywhere b/deploy_everywhere
index 7f1fd2d8..10084988 100755
--- a/deploy_everywhere
+++ b/deploy_everywhere
@@ -71,6 +71,9 @@ 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."