[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: use ssh with -o 'BatchMode = yes' to set ServerAliveInterval = 300

Holger Levsen holger at moszumanska.debian.org
Fri Nov 27 19:07:08 UTC 2015


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 94e4b2c4f9e9e7099ddc07c9efc09543ec056baa
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Nov 27 20:05:52 2015 +0100

    reproducible: use ssh with -o 'BatchMode = yes' to set ServerAliveInterval = 300
---
 bin/jenkins_master_wrapper.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index 3a14321..79c78f3 100755
--- a/bin/jenkins_master_wrapper.sh
+++ b/bin/jenkins_master_wrapper.sh
@@ -50,7 +50,7 @@ esac
 # main
 #
 set +e
-ssh -p $PORT $NODE_NAME /bin/true
+ssh -o "BatchMode = yes" -p $PORT $NODE_NAME /bin/true
 RESULT=$?
 # abort job if host is down
 if [ $RESULT -ne 0 ] ; then
@@ -60,5 +60,5 @@ if [ $RESULT -ne 0 ] ; then
 fi
 set -e
 # finally
-exec ssh -p $PORT $NODE_NAME "$PARAMS"
+exec ssh -o "BatchMode = yes" -p $PORT $NODE_NAME "$PARAMS"
 

-- 
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