[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible system healths summary: add a note displaying whether a node...

Holger Levsen gitlab at salsa.debian.org
Mon Jun 22 17:06:39 BST 2020



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


Commits:
2f4915e2 by Holger Levsen at 2020-06-22T18:06:28+02:00
reproducible system healths summary: add a note displaying whether a node needs rebooting for kernel upgrade

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -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



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2f4915e218a470200fd0682d68a91c88501c5d51

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2f4915e218a470200fd0682d68a91c88501c5d51
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/20200622/7e9455d6/attachment.html>


More information about the Qa-jenkins-scm mailing list