[Qa-jenkins-scm] [jenkins.debian.net] 01/02: loop through hosts in reverse order

Holger Levsen holger at layer-acht.org
Sat Apr 29 13:58:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c9ca2af8a2e07965ca472918769c728b385dbe44
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Apr 29 15:57:04 2017 +0200

    loop through hosts in reverse order
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 deploy_jdn | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/deploy_jdn b/deploy_jdn
index 765bcf9..3dbb20c 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -168,6 +168,11 @@ get_arch_color() {
 }
 
 LOG=$(mktemp -u)
+STSOH=""
+for i in $HOSTS ; do
+	STSOH="$i $STSOH"
+done
+HOSTS=$STSOH
 for i in $HOSTS ; do
 	echo -n "."
        	command="$real_command"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list