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 5f593f8da88 (chores) ci: adjust parse script exit code
5f593f8da88 is described below

commit 5f593f8da8876ce5913ccf2a24a7ac305d3c84ea
Author: Otavio R. Piske <[email protected]>
AuthorDate: Thu Jul 20 22:36:10 2023 +0200

    (chores) ci: adjust parse script exit code
    
    This should fix the CI flag on GH
    
    Signed-off-by: Otavio R. Piske <[email protected]>
---
 .github/actions/incremental-build/parse_errors.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/actions/incremental-build/parse_errors.sh 
b/.github/actions/incremental-build/parse_errors.sh
index 121544e4f88..c42979a083f 100755
--- a/.github/actions/incremental-build/parse_errors.sh
+++ b/.github/actions/incremental-build/parse_errors.sh
@@ -23,5 +23,8 @@ temp=$(cat $log | egrep "ERROR\].org" | grep "Time elapsed" | 
awk -F ' '  '{prin
 if [[ ! -z "$temp" ]] ; then
   echo -e "| Failed Test |\n| --- |" > "$GITHUB_STEP_SUMMARY"
   echo "$temp"  >> "$GITHUB_STEP_SUMMARY"
+  exit 1
 fi
 
+exit 0
+

Reply via email to