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 2023/07/20 20:35:00 UTC

[camel] branch main updated: (chores) ci: fixed generating the summary table

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 3b067285b6d (chores) ci: fixed generating the summary table
3b067285b6d is described below

commit 3b067285b6dc1c707410d30efda2fb1c63bf7467
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Thu Jul 20 22:34:37 2023 +0200

    (chores) ci: fixed generating the summary table
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .github/actions/incremental-build/parse_errors.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/actions/incremental-build/parse_errors.sh b/.github/actions/incremental-build/parse_errors.sh
index 7bffef04eef..121544e4f88 100755
--- a/.github/actions/incremental-build/parse_errors.sh
+++ b/.github/actions/incremental-build/parse_errors.sh
@@ -18,7 +18,7 @@
 
 LOG_FILE=$1
 
-temp=$(cat $log | grep "ERROR\].org" | grep "Time elapsed" | awk -F ' '  ' {print $3}' | sed 's/^/| /' | sed 's/$/ |/')
+temp=$(cat $log | egrep "ERROR\].org" | grep "Time elapsed" | awk -F ' '  '{print $2}' | sed 's/^/| /' | sed 's/$/ |/')
 
 if [[ ! -z "$temp" ]] ; then
   echo -e "| Failed Test |\n| --- |" > "$GITHUB_STEP_SUMMARY"