From fe36be173e24dccade0b8629737e401b9d5b7ca2 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 24 Jul 2014 14:22:42 +0200 Subject: [PATCH] sbuild-post-build-get-reports: Improve info message. --- sbuild-post-build-get-reports | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sbuild-post-build-get-reports b/sbuild-post-build-get-reports index af502e0..246d1eb 100755 --- a/sbuild-post-build-get-reports +++ b/sbuild-post-build-get-reports @@ -32,7 +32,11 @@ else if test "$files" -eq 0; then echo "Found no report files in $(pwd)." else - echo "Found $files report files in $(pwd) (copy them out of the chroot):" + if test "$files" -eq 1; then + echo "Found $files report file in $(pwd) (copy it out of the chroot):" + else + echo "Found $files report files in $(pwd) (copy them out of the chroot):" + fi find . -name surefire-reports -o -name failsafe-reports -o -name unittest.log -o -name tests-0.log -o -name build.log -o -name test-run-all.xml # Copy reports from the chroot into the workspace (for Jenkins) -- 2.39.5