[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: fixup

Holger Levsen holger at layer-acht.org
Sat Jul 15 12:25:06 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 87f8632536c800f8e6d0a3a64a035356023df190
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jul 15 14:25:01 2017 +0200

    reproducible Debian: fixup
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_node_health_check.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index cc87584..97ccbe7 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -155,12 +155,12 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
 	#
 	# /var/log/jenkins/jenkins.log sometimes grows very fast
 	# and we don't yet know why, so let's monitor this for now.
-	JENKINSLOG="find /var/log/jenkins -name jenkins.log -size +42G"
+	JENKINSLOG="$(find /var/log/jenkins -name jenkins.log -size +42G)"
 	if [ -z "JENKINSLOG" ] ; then
 		echo "Warning, jenkins.log is larger than 42G, please fix, erroring out now."
 		exit 1
 	else
-		JENKINSLOG="find /var/log/jenkins -name jenkins.log -size +23G"
+		JENKINSLOG="$(find /var/log/jenkins -name jenkins.log -size +23G)"
 		if [ -z "JENKINSLOG" ] ; then
 			echo "Warning, jenkins.log is larger than 23G, please do something…"
 			DIRTY=true

-- 
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