1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 09:45:55 +01:00

Use Spyglass-compatible name for junit reports

This commit is contained in:
Oleg Bulatov
2019-12-09 13:31:57 +01:00
parent d67b97ef82
commit 8e13e4e720

View File

@@ -128,7 +128,7 @@ if [[ -n "${junit_report}" ]]; then
set +o pipefail
os::util::ensure::built_binary_exists 'gotest2junit'
report_file="$( mktemp "${ARTIFACT_DIR}/unit_report_XXXXX" ).xml"
report_file="$( mktemp "${ARTIFACT_DIR}/junit_XXXXX" ).xml"
go test -json ${gotest_flags} ${test_packages} 2>"${test_error_file}" | tee "${JUNIT_REPORT_OUTPUT}" | gotest2junit > "${report_file}"
test_return_code="${PIPESTATUS[0]}"