You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/04/22 11:09:26 UTC

[camel] branch main updated: (chores) ci: fix resolving the short component name

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new abb1ad84fac (chores) ci: fix resolving the short component name
abb1ad84fac is described below

commit abb1ad84fac520b00339533a2eafdeb901e22d87
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Apr 22 13:09:15 2022 +0200

    (chores) ci: fix resolving the short component name
---
 .github/actions/quick-test/quick-test.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 182f8aedd28..36816cab505 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -68,7 +68,8 @@ function runTest() {
     notifySuccess "${component}" "${total}" "${current}" "${failures}"
   fi
 
-  local testLog="target/${component}-test.log"
+  local shortName=$(basename "${component}")
+  local testLog="target/${shortName}-test.log"
   if [[ -f "$testLog" ]] ; then
     echo "Copying test log file at ${testLog} to the log directory"
     mv "${testLog}" "${logDir}"/