Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix E2E pipeline failure handling #3983

Merged
merged 3 commits into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ stages:
. ./hack/e2e/run-rp-and-e2e.sh
deploy_e2e_db
register_sub
docker compose up e2e
docker compose up --exit-code-from e2e e2e
# Check if the E2E tests failed
E2E_EXIT_CODE=$?
if [ $E2E_EXIT_CODE -ne 0 ]; then
echo "##vso[task.logissue type=error] E2E tests failed. Check the logs for more details."
exit 1
exit $E2E_EXIT_CODE
else
echo "E2E tests passed."
fi
Expand Down
Loading