[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: just output the name of the zombie jobs, without the file system path

Holger Levsen holger at layer-acht.org
Mon Jul 31 22:01:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c49069662ccf276a7b97f77524f3e2638c9fa152
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jul 31 18:00:43 2017 -0400

    reproducible Debian: just output the name of the zombie jobs, without the file system path
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 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 97ccbe7..bc1ef7a 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list