From c49069662ccf276a7b97f77524f3e2638c9fa152 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 31 Jul 2017 18:00:43 -0400 Subject: reproducible Debian: just output the name of the zombie jobs, without the file system path Signed-off-by: Holger Levsen --- bin/reproducible_node_health_check.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh index 97ccbe78..bc1ef7a1 100755 --- a/bin/reproducible_node_health_check.sh +++ b/bin/reproducible_node_health_check.sh @@ -148,7 +148,9 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then 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" + for z in $ZOMBIES ; do + echo $(basename $z) + done DIRTY=true echo fi -- cgit v1.2.3-70-g09d2