Skip to content

Commit

Permalink
Collect crash dumps for smoke tests (#5741)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Apr 2, 2022
1 parent 2fd167c commit 56e3ed6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/reusable-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,16 @@ jobs:
arguments: ":smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}${{ inputs.no-build-cache && ' --no-build-cache' || '' }}"
# only push cache for one matrix option per OS since github action cache space is limited
cache-read-only: ${{ inputs.cache-read-only || matrix.smoke-test-suite != 'tomcat' }}

- name: Upload jvm crash dump files if any
if: always()
uses: actions/upload-artifact@v2
with:
name: javacore-smoke-test-${{ matrix.smoke-test-suite }}-${{ matrix.os }}
path: |
"**/hs_err_pid*.log"
"**/javacore.*.txt"
"**/Snap.*.trc"
"**/core.*.dmp"
"**/jitdump.*.dmp"
if-no-files-found: ignore

0 comments on commit 56e3ed6

Please sign in to comment.