[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible trbo monitor: treat reproducible_build_archlinux_pkg.sh as remote job (only)

Holger Levsen gitlab at salsa.debian.org
Wed Sep 23 16:03:02 BST 2020



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


Commits:
dec83348 by Holger Levsen at 2020-09-23T17:02:28+02:00
reproducible trbo monitor: treat reproducible_build_archlinux_pkg.sh as remote job (only)

(even though diffoscope is run locally)

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

- - - - -


1 changed file:

- bin/jenkins-shell-monitor.sh


Changes:

=====================================
bin/jenkins-shell-monitor.sh
=====================================
@@ -40,13 +40,13 @@ main_loop() {
 	SCHROOT_BASE_DIRS=$(find /schroots/ -maxdepth 1 -mindepth 1 -type d | wc -l)
 	DIFFOSCOPE_PROCS=$(grep -c '/usr/bin/python3 /usr/bin/diffoscope' $PSFAX || true)
 	REPRO_JOBS=$(ls ~jenkins/jobs/reproducible_* -1d | wc -l)
-	JOBS_RUNNING_TOTAL=$(grep '_ /bin/bash /srv/jenkins/bin/' $PSFAX | egrep -v 'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh' | wc -l)
+	JOBS_RUNNING_TOTAL=$(grep '_ /bin/bash /srv/jenkins/bin/' $PSFAX | egrep -v 'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh|reproducible_build_archlinux_pkg.sh' | wc -l)
 	if [ $JOBS_RUNNING_TOTAL -eq 0 ] ; then
 		JOBS_RUNNING_TOTAL="\033[91m$JOBS_RUNNING_TOTAL\033[0m"
 	elif [ $JOBS_RUNNING_TOTAL -lt 10 ] ; then
 		JOBS_RUNNING_TOTAL="\033[93m$JOBS_RUNNING_TOTAL\033[0m"
 	fi
-	JOBS_RUNNING_LOCAL=$(grep '_ /bin/bash /srv/jenkins/bin/' $PSFAX | egrep -v 'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh|jenkins_master_wrapper.sh' | wc -l)
+	JOBS_RUNNING_LOCAL=$(grep '_ /bin/bash /srv/jenkins/bin/' $PSFAX | egrep -v 'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh|reproducible_build_archlinux_pkg.sh|jenkins_master_wrapper.sh' | wc -l)
 	JOBS_RUNNING_REMOTE=$(grep -c jenkins_master_wrapper.sh $PSFAX || true)
 	REPRO_WORKERS=$(grep -c reproducible_worker.sh $PSFAX || true)
 	JENKINS_AGENTS=$(grep -c jenkins/agent.jar $PSFAX || true)



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dec83348292b246db75b2e75e347259fa7dabc00
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/20200923/0ff69b21/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list