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/13 12:13:23 UTC
[camel] branch main updated: (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 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 <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 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}"