Commit 2f4915e2 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible system healths summary: add a note displaying whether a node...


reproducible system healths summary: add a note displaying whether a node needs rebooting for kernel upgrade

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent dda91da2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -97,7 +97,11 @@ for JOB in reproducible_* ; do
	elif [ "$LAST" = "$UNSTABLE" ] ; then
		echo "unstable job: $JOB"
		let SCORE+=1 || SCORE=0
		echo "   <li><a href=\"https://jenkins.debian.net/job/$JOB/\">$JOB</a></li>" >> ${UNSTABLE_JOBS}
		NOTE=""
		if $(grep -q "Kernel needs upgrade" $JOB/builds/$LAST/log) ; then
			NOTE=" (reboot needed for kernel upgrade)"
		fi
		echo "   <li><a href=\"https://jenkins.debian.net/job/$JOB/\">$JOB</a>$NOTE</li>" >> ${UNSTABLE_JOBS}
	else
		case $JOB in
			reproducible_maintenance_amd64_jenkins)			MODIFIER=250 ;; # main node