[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible trbo system health check: hide ignored jobs a bit more'

Holger Levsen gitlab at salsa.debian.org
Sat Aug 8 23:38:56 BST 2020



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


Commits:
b1a389a5 by Holger Levsen at 2020-08-09T00:38:35+02:00
reproducible trbo system health check: hide ignored jobs a bit more'

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

- - - - -
096346df by Holger Levsen at 2020-08-09T00:38:35+02:00
reproducible trbo system health check: better explaination about ignored jobs

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -274,6 +274,9 @@ write2healthfile() {
 conditional_paragraph() {
 	if [ -s $1 ] ; then
 		write2healthfile " <p>"
+		if [ "${2:0:12}" = "Ignored jobs" ] ; then
+			write2healthfile " <small>"
+		fi
 		write2healthfile "  $2:"
 		write2healthfile "  <ul>"
 		local AHREF=""
@@ -329,6 +332,9 @@ conditional_paragraph() {
 		done
 		IFS=$OFS
 		write2healthfile "  </ul>"
+		if [ "${2:0:12}" = "Ignored jobs" ] ; then
+			write2healthfile " </small>"
+		fi
 		write2healthfile " </p>"
 	fi
 }
@@ -338,8 +344,8 @@ conditional_paragraph ${UNSTABLE_JOBS} "Unstable jobs"
 conditional_paragraph ${FAILED_SUSPECTS} "Failed jobs on nodes automatically marked down by jenkins (with modifier > 1)"
 conditional_paragraph ${UNSTABLE_SUSPECTS} "Unstable jobs on nodes automatically marked down by jenkins (with modifier > 1)"
 write2healthfile "<hr><p>A stable jobs adds 3 points to the score, an unstable job adds 1 and a failed job substracts something between 1 and 500 (indicated in brackets after the job name if not equal 1), depending on the importance of the job for the setup. Ignored jobs are not counted at all. If the final score is below zero it will be set to zero. Finally status is calculated by diving the score by three times the number of considered jobs and this gets multiplied with 255 to get a status between 0 and 255.</p><hr>"
-conditional_paragraph ${IGNORED_JOBS} "Ignored jobs, because these nodes the are running on are <a href=\"https://salsa.debian.org/qa/jenkins.debian.net/-/blob/master/jenkins-home/offline_nodes\">documented</a> to be offline"
-conditional_paragraph ${KNOWN_BAD_JOBS} "Ignored jobs, because they are known to be non-funtional"
+conditional_paragraph ${IGNORED_JOBS} "Ignored jobs, because the nodes these are running on are <a href=\"https://salsa.debian.org/qa/jenkins.debian.net/-/blob/master/jenkins-home/offline_nodes\">documented</a> to be offline"
+conditional_paragraph ${KNOWN_BAD_JOBS} "Ignored jobs, because they are known to be disabled as non-funtional"
 write2healthfile "<hr><p><small>This page was last updated on $(date -u) by the <a href=\"https://jenkins.debian.net/job/reproducible_system_health/\">reproducible_system_health</a> job.</small></p>"
 write2healthfile "</body></html>"
 echo "$(date -u) - $(basename $HEALTH_FILE).html updated, visible at $REPRODUCIBLE_URL/$(basename $HEALTH_FILE).html."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/7c02bd799aada2ac037487277b33d3cd8f972407...096346df63f38b62e792eb03207dc982bc745d77

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/7c02bd799aada2ac037487277b33d3cd8f972407...096346df63f38b62e792eb03207dc982bc745d77
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/20200808/43b02a3d/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list