@@ -137,12 +137,21 @@ jobs:
137137 name : mvn-test-logs
138138 path : ' org.sonarlint.eclipse.core.tests/target/work/configuration/*.log,org.sonarlint.eclipse.core.tests/target/work/data/.metadata/.log'
139139
140- - name : Upload Xvfb logs and JUnit XML on failure
140+ - name : Upload Xvfb logs on failure
141141 if : failure()
142142 uses : actions/upload-artifact@v4
143143 with :
144- name : failure-logs
145- path : ' Xvfb.out,**/target/surefire-reports/TEST-*.xml'
144+ name : failure-xvfb-logs
145+ path : Xvfb.out
146+
147+ - name : Upload JUnit XML logs on failure
148+ if : failure()
149+ uses : actions/upload-artifact@v4
150+ with :
151+ name : failure-xvfb-logs
152+ path : |
153+ **/target/surefire-reports/**
154+ **/target/failsafe-reports/**
146155
147156 - name : Generate QA test report on failure
148157 if : failure()
@@ -295,12 +304,21 @@ jobs:
295304 name : mvn-it-logs-${{ matrix.QA_CATEGORY }}
296305 path : ' its/**/target/work/configuration/*.log,its/**/target/work/data/.metadata/.log'
297306
298- - name : Upload failure diagnostics
307+ - name : Upload Xvfb logs on failure
299308 if : failure()
300309 uses : actions/upload-artifact@v4
301310 with :
302- name : failure-${{ matrix.QA_CATEGORY }}
303- path : ' Xvfb.out,**/test-results/**/*.xml,**/target/surefire-reports/TEST-*.xml'
311+ name : failure-xvfb-${{ matrix.QA_CATEGORY }}
312+ path : Xvfb.out
313+
314+ - name : Upload JUnit XML logs on failure
315+ if : failure()
316+ uses : actions/upload-artifact@v4
317+ with :
318+ name : failure-junit-${{ matrix.QA_CATEGORY }}
319+ path : |
320+ **/target/surefire-reports/**
321+ **/target/failsafe-reports/**
304322
305323 - name : Generate QA test report on failure
306324 if : failure()
@@ -435,12 +453,21 @@ jobs:
435453 name : mvn-it-logs-sc-${{ matrix.SQC_REGION }}
436454 path : ' its/**/target/work/configuration/*.log,its/**/target/work/data/.metadata/.log'
437455
438- - name : Upload failure diagnostics
456+ - name : Upload Xvfb logs on failure
439457 if : failure()
440458 uses : actions/upload-artifact@v4
441459 with :
442- name : failure-sc-${{ matrix.SQC_REGION }}
443- path : ' Xvfb.out,**/test-results/**/*.xml,**/target/surefire-reports/TEST-*.xml'
460+ name : failure-xvfb-${{ matrix.SQC_REGION }}
461+ path : Xvfb.out
462+
463+ - name : Upload JUnit XML logs on failure
464+ if : failure()
465+ uses : actions/upload-artifact@v4
466+ with :
467+ name : failure-junit-${{ matrix.SQC_REGION }}
468+ path : |
469+ **/target/surefire-reports/**
470+ **/target/failsafe-reports/**
444471
445472 - name : Generate QA test report on failure
446473 if : failure()
@@ -570,12 +597,21 @@ jobs:
570597 name : mvn-it-logs-${{ matrix.TARGET_PLATFORM }}
571598 path : ' its/**/target/work/configuration/*.log,its/**/target/work/data/.metadata/.log'
572599
573- - name : Upload failure diagnostics
600+ - name : Upload Xvfb logs on failure
601+ if : failure()
602+ uses : actions/upload-artifact@v4
603+ with :
604+ name : failure-xvfb-${{ matrix.TARGET_PLATFORM }}
605+ path : Xvfb.out
606+
607+ - name : Upload JUnit XML logs on failure
574608 if : failure()
575609 uses : actions/upload-artifact@v4
576610 with :
577- name : failure-${{ matrix.TARGET_PLATFORM }}
578- path : ' Xvfb.out,**/test-results/**/*.xml,**/target/surefire-reports/TEST-*.xml'
611+ name : failure-junit-${{ matrix.TARGET_PLATFORM }}
612+ path : |
613+ **/target/surefire-reports/**
614+ **/target/failsafe-reports/**
579615
580616 - name : Generate QA test report on failure
581617 if : failure()
@@ -706,12 +742,21 @@ jobs:
706742 name : mvn-it-logs-cdt-${{ matrix.TARGET_PLATFORM }}
707743 path : ' its/**/target/work/configuration/*.log,its/**/target/work/data/.metadata/.log'
708744
709- - name : Upload failure diagnostics
745+ - name : Upload Xvfb logs on failure
746+ if : failure()
747+ uses : actions/upload-artifact@v4
748+ with :
749+ name : failure-xvfb-cdt-${{ matrix.TARGET_PLATFORM }}
750+ path : Xvfb.out
751+
752+ - name : Upload JUnit XML logs on failure
710753 if : failure()
711754 uses : actions/upload-artifact@v4
712755 with :
713- name : failure-cdt-${{ matrix.TARGET_PLATFORM }}
714- path : ' Xvfb.out,**/test-results/**/*.xml,**/target/surefire-reports/TEST-*.xml'
756+ name : failure-junit-cdt-${{ matrix.TARGET_PLATFORM }}
757+ path : |
758+ **/target/surefire-reports/**
759+ **/target/failsafe-reports/**
715760
716761 - name : Generate QA test report on failure
717762 if : failure()
0 commit comments