Commit c8019e07 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible trbo monitor: only having 6-10 jobs running is fine



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent cc83f9bb
......@@ -44,7 +44,7 @@ main_loop() {
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="${RED}$JOBS_RUNNING_TOTAL${FOREGROUND_COLOR}"
elif [ $JOBS_RUNNING_TOTAL -lt 10 ] ; then
elif [ $JOBS_RUNNING_TOTAL -lt 5 ] ; then
JOBS_RUNNING_TOTAL="${YELLOW}$JOBS_RUNNING_TOTAL${FOREGROUND_COLOR}"
fi
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment