Loading hosts/common/etc/munin/plugins/jenkins_reproducible_builds +5 −3 Original line number Diff line number Diff line Loading @@ -47,10 +47,12 @@ if [ "$1" = "config" ]; then fi for PREFIX in $JOB_PREFIXES ; do # detects Debian, Arch Linux and OpenWrt builds # todo: Debian live, coreboot, netbsd, freebsd, (alpine) if [ "$PREFIX" = "first" ] ; then NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 1") NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/(reproducible_build|reproducible_build_archlinux_pkg|reproducible_openwrt).sh (|node openwrt_build b)1") else NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 2") NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/(reproducible_build|reproducible_build_archlinux_pkg|reproducible_openwrt).sh (|node openwrt_build b)2") fi echo "jenkins_reproducible_${PREFIX}_build.value $NR" done Loading
hosts/common/etc/munin/plugins/jenkins_reproducible_builds +5 −3 Original line number Diff line number Diff line Loading @@ -47,10 +47,12 @@ if [ "$1" = "config" ]; then fi for PREFIX in $JOB_PREFIXES ; do # detects Debian, Arch Linux and OpenWrt builds # todo: Debian live, coreboot, netbsd, freebsd, (alpine) if [ "$PREFIX" = "first" ] ; then NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 1") NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/(reproducible_build|reproducible_build_archlinux_pkg|reproducible_openwrt).sh (|node openwrt_build b)1") else NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/reproducible_build.sh 2") NR=$(pgrep -fc "bin/bash /srv/jenkins/bin/(reproducible_build|reproducible_build_archlinux_pkg|reproducible_openwrt).sh (|node openwrt_build b)2") fi echo "jenkins_reproducible_${PREFIX}_build.value $NR" done