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/10/18 11:32:21 UTC
[camel] 16/21: (chores) ci: use maven save-to-log instead of bash redirection
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 280690acb9e81e9d4c473a7599c52b0a8caa8a18
Author: Otavio Rodolfo Piske <an...@gmail.com>
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 b0c920d80be..d195766fc03 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}"