You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2024/01/16 08:01:41 UTC

(camel) 01/01: CAMEL-20335: component-test - Exclude target folders

This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch CAMEL-20335/exclude-target-folders
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2c161bb5a0d934d721a9cea7c60a8363cc7e9e11
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Tue Jan 16 09:01:35 2024 +0100

    CAMEL-20335: component-test - Exclude target folders
---
 .github/actions/component-test/component-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/component-test/component-test.sh b/.github/actions/component-test/component-test.sh
index 73555c72835..736ebdd4836 100755
--- a/.github/actions/component-test/component-test.sh
+++ b/.github/actions/component-test/component-test.sh
@@ -39,7 +39,7 @@ function main() {
       componentPath="components/camel-${component}"
     fi
     if [[ -d "${componentPath}" ]] ; then
-      pl="$pl$(find "${componentPath}" -name pom.xml -not -path "*/src/it/*" -exec dirname {} \; | sort | tr -s "\n" ",")"
+      pl="$pl$(find "${componentPath}" -name pom.xml -not -path "*/src/it/*" -not -path "*/target/*" -exec dirname {} \; | sort | tr -s "\n" ",")"
     fi
   done
   len=${#pl}