[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fixup typo in variable name

Holger Levsen gitlab at salsa.debian.org
Wed Sep 2 20:07:35 BST 2020



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


Commits:
9b089429 by Holger Levsen at 2020-09-02T21:07:28+02:00
fixup typo in variable name

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

- - - - -


1 changed file:

- bin/jenkins-shell-monitor.sh


Changes:

=====================================
bin/jenkins-shell-monitor.sh
=====================================
@@ -70,10 +70,10 @@ main_loop() {
 		echo "running jenkings agents/nodes:                $JENKINS_AGENTS"
 		NODES_OFFLINE="$(grep -v ^# ~jenkins/offline_nodes | grep -c debian)"
 		NODES_GIT_OFFLINE="$(grep -v ^# ~jenkins-adm/jenkins.debian.net/jenkins-home/offline_nodes | grep -c debian)"
-		if [ "$NODES_OFFLINE" != "$NODES_GITOFFLINE" ] ; then
+		if [ "$NODES_OFFLINE" != "$NODES_GIT_OFFLINE" ] ; then
 			NODES_OFFLINE="\033[93m$NODES_OFFLINE\033[0m"
 		fi
-		echo -e "nodes: (total/auto-offline/offline in git)    $NODES_TOTAL / $NODES_OFFLINE / $NODES_GITOFFLINE"
+		echo -e "nodes: (total/auto-offline/offline in git)    $NODES_TOTAL / $NODES_OFFLINE / $NODES_GIT_OFFLINE"
 		echo
 		df -h  /dev/vda1 /var/lib/jenkins/userContent/reproducible /srv/workspace /tmp | awk '{printf "%-45s %-6s %-6s %s\n", $6, $2, $4, $5}'
 		free -h | cut -b1-47



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/9b0894295877994b52356085bbd8212997de4c14
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/20200902/794200da/attachment.html>


More information about the Qa-jenkins-scm mailing list