We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9aac1c + 1bf921a commit 531fc19Copy full SHA for 531fc19
hack/test-go.sh
@@ -132,9 +132,11 @@ if [[ -n "${junit_report}" ]]; then
132
report_file="$( mktemp "${ARTIFACT_DIR}/unit_report_XXXXX" ).xml"
133
134
go test -json ${gotest_flags} ${test_packages} 2>"${test_error_file}" | tee "${JUNIT_REPORT_OUTPUT}" | gotest2junit > "${report_file}"
135
-
136
test_return_code="${PIPESTATUS[0]}"
137
+ gzip "${test_error_file}" -c > "${ARTIFACT_DIR}/unit-error.log.gz"
138
+ gzip "${JUNIT_REPORT_OUTPUT}" -c > "${ARTIFACT_DIR}/unit.log.gz"
139
+
140
set -o pipefail
141
142
if [[ -s "${test_error_file}" ]]; then
0 commit comments