diff --git a/pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy b/pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy index a0c2625b8..7e7a2508c 100644 --- a/pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy +++ b/pipelines/pingcap/tidb/latest/ghpr_unit_test.groovy @@ -82,6 +82,7 @@ pipeline { always { dir(REFS.repo) { junit(testResults: "**/bazel.xml", allowEmptyResults: true) + archiveArtifacts(artifacts: '**/bazel.xml', allowEmptyArchive: true) archiveArtifacts(artifacts: 'bazel-test.log', fingerprint: false, allowEmptyArchive: true) } sh label: "Parse flaky test case results", script: './scripts/plugins/analyze-go-test-from-bazel-output.sh tidb/bazel-test.log || true' diff --git a/pipelines/pingcap/tidb/release-6.1/ghpr_unit_test.groovy b/pipelines/pingcap/tidb/release-6.1/ghpr_unit_test.groovy index 39e2e8bd4..38c1f04d5 100644 --- a/pipelines/pingcap/tidb/release-6.1/ghpr_unit_test.groovy +++ b/pipelines/pingcap/tidb/release-6.1/ghpr_unit_test.groovy @@ -81,6 +81,7 @@ pipeline { always { dir('tidb') { // archive test report to Jenkins. + archiveArtifacts(artifacts: '**/*-junit-report.xml', fingerprint: true, allowEmptyArchive: true) junit(testResults: "**/*-junit-report.xml", allowEmptyResults: true) } }