diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml index 0dfe0ce3a68a8..cff83aad93a9b 100644 --- a/.github/workflows/pulsar-ci.yaml +++ b/.github/workflows/pulsar-ci.yaml @@ -572,24 +572,28 @@ jobs: - name: Shade on Java 8 group: SHADE_RUN + upload_name: SHADE_RUN_8 runtime_jdk: 8 setup: ./build/run_integration_group.sh SHADE_BUILD no_coverage: true - name: Shade on Java 11 group: SHADE_RUN + upload_name: SHADE_RUN_11 runtime_jdk: 11 setup: ./build/run_integration_group.sh SHADE_BUILD no_coverage: true - name: Shade on Java 17 group: SHADE_RUN + upload_name: SHADE_RUN_17 runtime_jdk: 17 setup: ./build/run_integration_group.sh SHADE_BUILD no_coverage: true - name: Shade on Java 21 group: SHADE_RUN + upload_name: SHADE_RUN_21 runtime_jdk: 21 setup: ./build/run_integration_group.sh SHADE_BUILD no_coverage: true @@ -693,7 +697,7 @@ jobs: uses: actions/upload-artifact@v4 if: ${{ !success() }} with: - name: Integration-${{ matrix.group }}-surefire-reports + name: Integration-${{ matrix.upload_name || matrix.group }}-surefire-reports path: surefire-reports retention-days: 7 @@ -702,7 +706,7 @@ jobs: if: ${{ !success() }} continue-on-error: true with: - name: Integration-${{ matrix.group }}-container-logs + name: Integration-${{ matrix.upload_name || matrix.group }}-container-logs path: tests/integration/target/container-logs retention-days: 7 diff --git a/build/run_integration_group.sh b/build/run_integration_group.sh index 63b92d4e0a798..2843fd1168039 100755 --- a/build/run_integration_group.sh +++ b/build/run_integration_group.sh @@ -100,7 +100,7 @@ mvn_run_integration_test() { if [[ $build_only -ne 1 ]]; then echo "::group::Run tests for " "$@" # use "verify" instead of "test" - mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true -DredirectTestOutputToFile=false $clean_arg verify "$@" + mvn -B -ntp -pl "$modules" $failfast_args $coverage_args -DskipDocker -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true -Dcheckstyle.skip=true -Drat.skip=true $clean_arg verify "$@" echo "::endgroup::" set +x "$SCRIPT_DIR/pulsar_ci_tool.sh" move_test_reports || true