From 22fba06fc23ec00ecfa1af21b790b24e2a82d6fc Mon Sep 17 00:00:00 2001 From: Rohit Gohri Date: Thu, 30 May 2024 09:45:21 +0200 Subject: [PATCH] Update example command for uploading multiple reports (#2105) Update uploading-coverage-in-advanced-scenarios.md The previous example doesn't work in the official docker image since that is alpine based, the new example works with both GNU and alpine env Co-authored-by: Nicola Klemenc --- .../uploading-coverage-in-advanced-scenarios.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/coverage-reporter/uploading-coverage-in-advanced-scenarios.md b/docs/coverage-reporter/uploading-coverage-in-advanced-scenarios.md index aeea8bf6e5..e870a836a6 100644 --- a/docs/coverage-reporter/uploading-coverage-in-advanced-scenarios.md +++ b/docs/coverage-reporter/uploading-coverage-in-advanced-scenarios.md @@ -26,12 +26,9 @@ bash <(curl -Ls https://coverage.codacy.com/get.sh) report \ You can also upload all your reports dynamically using the command `find`. For example: -!!! note - This example works only on systems that use GNU `find` with support for the `-printf` action, such as Linux. - ```bash bash <(curl -Ls https://coverage.codacy.com/get.sh) report \ - -l Java $(find . -name 'jacoco*.xml' -printf '-r %p ') + -l Java $(find . -name 'jacoco*.xml' | sed 's,^, -r ,' | xargs echo) ``` ### Uploading reports in sequence {: id="multiple-reports-sequence"}