Commit d75114c8 authored by Albert Salim's avatar Albert Salim

Merge branch 'add-link-to-sentry-when-end-to-end-jobs-fail' into 'master'

ci: Link to Sentry issues when end-to-end jobs fail

See merge request gitlab-org/gitlab!78531
parents 1d59f896 5e82de44
...@@ -27,11 +27,13 @@ ...@@ -27,11 +27,13 @@
- echo "${CI_ENVIRONMENT_URL}" - echo "${CI_ENVIRONMENT_URL}"
- cd qa - cd qa
script: script:
- | - qa_run_status=0
bin/test "${QA_SCENARIO}" "${CI_ENVIRONMENT_URL}" \ - bin/test "${QA_SCENARIO}" "${CI_ENVIRONMENT_URL}" -- --color --format documentation --format RspecJunitFormatter --out tmp/rspec.xml || qa_run_status=$?
-- \ - if [ ${qa_run_status} -ne 0 ]; then
--color --format documentation \ release_sha=$(echo "${CI_MERGE_REQUEST_SOURCE_BRANCH_SHA:-${CI_COMMIT_SHA}}" | cut -c1-11);
--format RspecJunitFormatter --out tmp/rspec.xml echo "Errors can be found at https://sentry.gitlab.net/gitlab/gitlab-review-apps/releases/${release_sha}/all-events/.";
fi
- exit ${qa_run_status}
artifacts: artifacts:
paths: paths:
- qa/tmp - qa/tmp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment