summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-12-22 20:40:38 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-22 20:40:38 +0100
commit35bbb43b1556b3e0d47eb5c05b1ec486abece1d4 (patch)
treeb3fdfe696c42a0c4bfdcd0bd77ef7e2063b815de
parent683f48302fa6188dcb49bbbcdfeac83ecef9a43c (diff)
downloadjenkins.debian.net-35bbb43b1556b3e0d47eb5c05b1ec486abece1d4.tar.xz
reproducible Debian: fix syntax error and add color support
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/jenkins_node_definitions.sh2
-rwxr-xr-xdeploy_jdn3
2 files changed, 4 insertions, 1 deletions
diff --git a/bin/jenkins_node_definitions.sh b/bin/jenkins_node_definitions.sh
index f83b1e1f..e02d05e1 100755
--- a/bin/jenkins_node_definitions.sh
+++ b/bin/jenkins_node_definitions.sh
@@ -122,6 +122,7 @@ get_node_ssh_port() {
;;
profitbricks-build*)
PORT=22
+ ;;
codethink-sled9*)
PORT=10109
;;
@@ -149,6 +150,7 @@ get_node_ssh_port() {
*)
echo >&2 "Unknown node $NODE_NAME."
exit 1
+ ;;
esac
}
diff --git a/deploy_jdn b/deploy_jdn
index 1f7cfcde..e010761b 100755
--- a/deploy_jdn
+++ b/deploy_jdn
@@ -153,8 +153,9 @@ BG=""
get_arch_color() {
case $1 in
- *i386*) BG=lightblue ;;
*amd64*) BG=lightgreen ;;
+ *i386*) BG=lightblue ;;
+ *arm64*) BG=orange ;;
*armhf*) BG=lightyellow ;;
*jenkins.debian.*) BG=yellow ;;
*) BG=white ;;