Skip to content

Commit

Permalink
[improve][ci] Upload native crash dump files hs_err_*.log & core.* in CI
Browse files Browse the repository at this point in the history
- helps investigate issues when there's a JVM crash such as apache#19250
  • Loading branch information
lhotari committed Jan 17, 2023
1 parent d25cf8e commit 9c09d6b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,15 @@ jobs:
path: surefire-reports
retention-days: 7

- name: Upload possible heap dump
- name: Upload possible heap dump, core dump or crash files
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: Unit-${{ matrix.group }}-heapdump
path: /tmp/*.hprof
name: Unit-${{ matrix.group }}-dumps
path: |
/tmp/*.hprof
**/hs_err_*.log
**/core.*
retention-days: 7
if-no-files-found: ignore

Expand Down

0 comments on commit 9c09d6b

Please sign in to comment.