When web server application context refresh fails, the original failure is lost if stopping or destroying the web server throws an exception #1737
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Pull Request | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build Pull Request | |
if: ${{ github.repository == 'spring-projects/spring-boot' }} | |
runs-on: ${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v4 | |
- name: Build | |
id: build | |
uses: ./.github/actions/build | |
- name: Print JVM Thread Dumps When Cancelled | |
if: cancelled() | |
uses: ./.github/actions/print-jvm-thread-dumps | |
- name: Upload Build Reports | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-reports | |
path: '**/build/reports/' |