[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible system health status: only consider known offline status from git

Holger Levsen gitlab at salsa.debian.org
Sat Jun 13 12:33:31 BST 2020



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


Commits:
ce4ed45c by Holger Levsen at 2020-06-13T13:33:15+02:00
reproducible system health status: only consider known offline status from git

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

- - - - -


1 changed file:

- bin/reproducible_system_health.sh


Changes:

=====================================
bin/reproducible_system_health.sh
=====================================
@@ -65,7 +65,10 @@ for JOB in reproducible_* ; do
 			arm64)	NODE="codethink-sled${NODE_ALIAS#codethink}-arm64.debian.net" ;;
 			armhf)	NODE="${NODE_ALIAS}-armhf-rb.debian.net" ;;
 		esac
-		if grep -q $NODE $JENKINS_OFFLINE_LIST >/dev/null 2>&1 ; then
+		# check the offline list from git (and not the one updated by jenkins)
+		# as this should only ignore nodes humans (and not jenkins) have
+		# acknowledged they are down...
+		if grep -q $NODE $JENKINS_OFFLINE_GIT_LIST >/dev/null 2>&1 ; then
 			echo "   <li><a href=\"https://jenkins.debian.net/job/$JOB/\">$JOB</a></li>" >> ${IGNORED_JOBS}
 			echo "  ignored job: $JOB (node is offline)"
 			continue
@@ -159,7 +162,9 @@ cat > $HEALTH_FILE.html <<- EOF
   </ul>
  </p>
  <p>
-  Ignored jobs (because these node are known to be offline):<ul>
+  Ignored jobs (because these nodes are known and
+  <a href="https://salsa.debian.org/qa/jenkins.debian.net/-/blob/master/jenkins-home/offline_nodes">documented</a>
+  to be offline):<ul>
    $(cat ${IGNORED_JOBS})
   </ul>
  </p>



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/ce4ed45c9e8cd901d66cbd453e9b7dfcc9d36b56
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/20200613/93bb6e0d/attachment.html>


More information about the Qa-jenkins-scm mailing list