diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 2e555095d0d3..6796d1b2f548 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -20,8 +20,6 @@ jobs: uses: actions/checkout@v4 - name: Set up Gradle uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 - with: - cache-read-only: false - name: Configure Gradle properties shell: bash run: | @@ -39,15 +37,4 @@ jobs: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} - run: ./gradlew build --no-parallel - - name: Print JVM thread dumps when cancelled - uses: ./.github/actions/print-jvm-thread-dumps - if: cancelled() - - name: Send notification - uses: ./.github/actions/send-notification - if: always() - with: - webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} - status: ${{ job.status }} - build-scan-url: ${{ steps.build.outputs.build-scan-url }} - run-name: ${{ format('{0} | Windows | Java 17', github.ref_name) }} + run: ./gradlew --no-parallel :spring-boot-project:spring-boot-tools:spring-boot-buildpack-platform:test diff --git a/build.gradle b/build.gradle index 29e70681a312..7a2639f21086 100644 --- a/build.gradle +++ b/build.gradle @@ -50,6 +50,7 @@ allprojects { tasks.withType(Test).configureEach { testLogging { events 'STARTED', 'FAILED', 'PASSED', 'SKIPPED' + exceptionFormat = 'FULL' } } } diff --git a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/build/TarGzipBuildpackTests.java b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/build/TarGzipBuildpackTests.java index 561d370719e6..ae93e376e288 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/build/TarGzipBuildpackTests.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/build/TarGzipBuildpackTests.java @@ -63,7 +63,7 @@ void resolveWhenFileUrlReturnsBuildpack() throws Exception { Path compressedArchive = this.testTarGzip.createArchive(); BuildpackReference reference = BuildpackReference.of("file://" + compressedArchive.toString()); Buildpack buildpack = TarGzipBuildpack.resolve(this.resolverContext, reference); - assertThat(buildpack).isNotNull(); + assertThat(buildpack).as("Buildpack %s resolved from reference %s", buildpack, reference).isNotNull(); assertThat(buildpack.getCoordinates()).hasToString("example/buildpack1@0.0.1"); this.testTarGzip.assertHasExpectedLayers(buildpack); }