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 f155d996e79 (chores) ci: use maven save-to-log instead of bash 
redirection
f155d996e79 is described below

commit f155d996e796b8ddbd6a68d269703e295d73926a
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Thu Oct 13 14:13:07 2022 +0200

    (chores) ci: use maven save-to-log instead of bash redirection
---
 .github/actions/quick-test/quick-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh 
b/.github/actions/quick-test/quick-test.sh
index 559e47c970d..a9abb2a4d04 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -63,7 +63,7 @@ function runTest() {
   echo ""
 
   echo "Logging test to ${logDir}/${component/\//-}.log"
-  mvn -Psourcecheck ${MVN_OPTS} verify 2>&1 >> 
"${logDir}/${component/\//-}.log"
+  mvn -l "${logDir}/${component/\//-}.log" -Psourcecheck ${MVN_OPTS} verify
   if [[ $? -ne 0 ]]; then
     ((failures++))
     notifyError "${component} test" "${total}" "${current}" "${failures}"

Reply via email to