[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible node health: show health job status (and link) even for offline nodes

Holger Levsen gitlab at salsa.debian.org
Sat Sep 22 15:46:49 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
e2e7d91c by Holger Levsen at 2018-09-22T14:46:21Z
reproducible node health: show health job status (and link) even for offline nodes

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_html_nodes_info.sh


Changes:

=====================================
bin/reproducible_html_nodes_info.sh
=====================================
@@ -73,18 +73,18 @@ for ARCH in ${ARCHS} ; do
 			esac
 		fi
 		write_page "<tr><td>$JENKINS_NODENAME"
+		write_page "</td>"
+		# health check
+		URL="https://jenkins.debian.net/view/reproducible/view/Node_maintenance/job/reproducible_node_health_check_${ARCH}_${JENKINS_NODENAME}"
+		BADGE="$URL/badge/icon"
+		write_page "<td><a href='$URL'><img src='$BADGE' /></a></td>"
 		# mark offline nodes
 		if [ -f "$JENKINS_OFFLINE_LIST" ]; then
 			if grep -q "$NODE" "$JENKINS_OFFLINE_LIST"; then
-				write_page '</td><td colspan="11" style="text-align: center;"><span style="font-style: italic;">offline</span></td>'
+				write_page '</td><td colspan="10" style="text-align: center;"><span style="font-style: italic;">offline</span></td>'
 				continue
 			fi
 		fi
-		write_page "</td>"
-		# health check
-		URL="https://jenkins.debian.net/view/reproducible/view/Node_maintenance/job/reproducible_node_health_check_${ARCH}_${JENKINS_NODENAME}"
-		BADGE="$URL/badge/icon"
-		write_page "<td><a href='$URL'><img src='$BADGE' /></a></td>"
 		# maintenance
 		URL="https://jenkins.debian.net/view/reproducible/view/Node_maintenance/job/reproducible_maintenance_${ARCH}_${JENKINS_NODENAME}"
 		BADGE="$URL/badge/icon"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e2e7d91ce1b9392529fe7c25ea1d3fa1d555391a

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/e2e7d91ce1b9392529fe7c25ea1d3fa1d555391a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180922/c32e6956/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list