This is an automated email from the ASF dual-hosted git repository.
crazyhzm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new b3ec995848 [MNG-8013] Integration testing process logs can be output
github artifact (#1375)
b3ec995848 is described below
commit b3ec995848bccfa2601c476e022fbe7730991019
Author: huazhongming <[email protected]>
AuthorDate: Mon Feb 5 11:02:11 2024 +0800
[MNG-8013] Integration testing process logs can be output github artifact
(#1375)
Signed-off-by: crazyhzm <[email protected]>
---
.github/workflows/maven.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1be8569841..2181f0cf34 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -124,3 +124,10 @@ jobs:
- name: Running integration tests
shell: bash
run: mvn install -e -B -V -Prun-its,embedded
-DmavenDistro="$GITHUB_WORKSPACE/maven/apache-maven/target/apache-maven-bin.zip"
-f maven-integration-testing/pom.xml
+
+ - name: Upload artifact on integration testing
+ uses: actions/upload-artifact@v4
+ if: failure() && matrix.os != 'windows-latest'
+ with:
+ name: ${{ github.run_number }}-integration-test-artifact-${{
matrix.os }}-${{ matrix.java }}
+ path: ./maven-integration-testing/core-it-suite/target/test-classes/
\ No newline at end of file