Skip to content

Commit

Permalink
Merge pull request #212 from openshift-cherrypick-robot/cherry-pick-2…
Browse files Browse the repository at this point in the history
…10-to-release-4.2

[release-4.2] Use Spyglass-compatible name for junit reports
  • Loading branch information
openshift-merge-robot committed Dec 12, 2019
2 parents e3d24d9 + d2b80e9 commit a7655f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/test-go.sh
Expand Up @@ -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]}"
Expand Down

0 comments on commit a7655f1

Please sign in to comment.