[Qa-jenkins-scm] [jenkins.debian.net] 01/02: node_definition: add a flag to those nodes running in the future
Mattia Rizzolo
mattia at debian.org
Thu Apr 5 15:02:38 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit 061d41dc95a856b5e32593d77542b018312b2a6a
Author: Mattia Rizzolo <mattia at debian.org>
Date: Thu Apr 5 16:54:28 2018 +0200
node_definition: add a flag to those nodes running in the future
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
bin/jenkins_node_definitions.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/jenkins_node_definitions.sh b/bin/jenkins_node_definitions.sh
index 2e24c4f..5f2392d 100755
--- a/bin/jenkins_node_definitions.sh
+++ b/bin/jenkins_node_definitions.sh
@@ -58,6 +58,7 @@ wbd0-armhf-rb.debian.net
wbq0-armhf-rb.debian.net"
# return the ports sshd is listening on
+NODE_RUN_IN_THE_FUTURE=false
get_node_ssh_port() {
local NODE_NAME=$1
case "$NODE_NAME" in
@@ -148,28 +149,36 @@ get_node_ssh_port() {
p64c-armhf-rb.debian.net)
PORT=2248
;;
+ profitbricks-build[456]*|profitbricks-build1[56]*)
+ NODE_RUN_IN_THE_FUTURE=true
+ PORT=22
+ ;;
profitbricks-build*)
PORT=22
;;
codethink-sled9*)
+ NODE_RUN_IN_THE_FUTURE=true
PORT=10109
;;
codethink-sled10*)
PORT=10110
;;
codethink-sled11*)
+ NODE_RUN_IN_THE_FUTURE=true
PORT=10111
;;
codethink-sled12*)
PORT=10112
;;
codethink-sled13*)
+ NODE_RUN_IN_THE_FUTURE=true
PORT=10113
;;
codethink-sled14*)
PORT=10114
;;
codethink-sled15*)
+ NODE_RUN_IN_THE_FUTURE=true
PORT=10115
;;
codethink-sled16*)
--
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