@@ -269,10 +269,11 @@ windows_projects=$(add-dependencies ${windows_projects_to_test} | sort | uniq)
269269if [[ " ${linux_projects} " != " " ]]; then
270270 cat << EOF
271271- label: ':linux: Linux x64'
272+ key: "test Linux"
272273 artifact_paths:
273274 - 'artifacts/**/*'
274275 - '*_result.json'
275- - 'build/test-results*.xml'
276+ - 'build/test-results-linux *.xml'
276277 agents: ${LINUX_AGENTS}
277278 retry:
278279 automatic:
@@ -286,16 +287,23 @@ if [[ "${linux_projects}" != "" ]]; then
286287 CXX: 'clang++'
287288 commands:
288289 - './.ci/monolithic-linux.sh "$( echo ${linux_projects} | tr ' ' ' ;' ) " "$( echo ${linux_check_targets} ) " "$( echo ${linux_runtimes} | tr ' ' ' ;' ) " "$( echo ${linux_runtime_check_targets} ) "'
290+ - plugins:
291+ - junit-annotate#v2.5.0:
292+ artifacts: build/test-results-linux*.xml
293+ context: "linux-test-results"
294+ depends_on: "test Linux"
295+ allow_dependency_failure: true
289296EOF
290297fi
291298
292299if [[ " ${windows_projects} " != " " ]]; then
293300 cat << EOF
294301- label: ':windows: Windows x64'
302+ key: "test Windows"
295303 artifact_paths:
296304 - 'artifacts/**/*'
297305 - '*_result.json'
298- - 'build/test-results*.xml'
306+ - 'build/test-results-windows *.xml'
299307 agents: ${WINDOWS_AGENTS}
300308 retry:
301309 automatic:
@@ -311,13 +319,15 @@ if [[ "${windows_projects}" != "" ]]; then
311319 commands:
312320 - 'C:\\ BuildTools\\ Common7\\ Tools\\ VsDevCmd.bat -arch=amd64 -host_arch=amd64'
313321 - 'bash .ci/monolithic-windows.sh "$( echo ${windows_projects} | tr ' ' ' ;' ) " "$( echo ${windows_check_targets} ) "'
322+ - plugins:
323+ - junit-annotate#v2.5.0:
324+ artifacts: build/test-results-windows*.xml
325+ context: "windows-test-results"
326+ depends_on: "test Windows"
327+ allow_dependency_failure: true
314328EOF
315329fi
316330
317331cat << EOF
318- - wait: ~
319- continue_on_failure: true
320- - plugins:
321- - junit-annotate#v2.5.0:
322- artifacts: build/test-results*.xml
332+
323333EOF
0 commit comments