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)