From 795ab8b893c1458f308614c1f8f0c65af96d4280 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 28 Jun 2017 11:52:57 +0200 Subject: reproducible Debian: fixup zombie test Signed-off-by: Holger Levsen --- bin/reproducible_node_health_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh index fbf0f55b..bad7a4b1 100755 --- a/bin/reproducible_node_health_check.sh +++ b/bin/reproducible_node_health_check.sh @@ -145,7 +145,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then # and we dont know why and when that happens, # so just report those zombies here. # - ZOMBIES=$(ls -1d /var/lib/jenkins/jobs/ | egrep '(reproducible_builder_amd64|reproducible_builder_i386|reproducible_builder_armhf|reproducible_builder_arm64|chroot-installation_wheezy)') + ZOMBIES=$(ls -1d /var/lib/jenkins/jobs/* | egrep '(reproducible_builder_amd64|reproducible_builder_i386|reproducible_builder_armhf|reproducible_builder_arm64|chroot-installation_wheezy)' || true) if [ ! -z "$ZOMBIES" ] ; then echo "Warning, rise of the jenkins job zombies has started again, these jobs should not exist:" echo -e "$ZOMBIES" -- cgit v1.2.3-70-g09d2