Skip to content

Commit

Permalink
Undo trapping to report "done" state
Browse files Browse the repository at this point in the history
This conflicts with the change in alisw#1207.
  • Loading branch information
TimoWilken committed Nov 7, 2022
1 parent a402254 commit a5e8b96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/build-loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ fi
unset certdir jalien_token

report_state pr_processing
PR_OK=0 # If we exit before the end of the script, we didn't succeed.
trap -- 'report_state pr_processing_done' EXIT

# Fetch the PR's changes to the git repository.
if pushd "$PR_REPO_CHECKOUT"; then
Expand Down Expand Up @@ -252,6 +250,7 @@ then
else
report_pr_errors ${DONT_USE_COMMENTS:+--no-comments} ||
short_timeout report-analytics exception --desc 'report-pr-errors fail on build error'
PR_OK=0
fi

(
Expand All @@ -270,3 +269,5 @@ fi
true
fi
)

report_state pr_processing_done

0 comments on commit a5e8b96

Please sign in to comment.