Commit 93c0abe7 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible munin plugin: also do graphs for Arch Linux and OpenWrt r-b ci builds

parent 83d7c78f
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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