Skip to content

Commit

Permalink
Try to identify failure cause
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Feb 28, 2024
1 parent baf7307 commit f038e74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ allprojects {
tasks.withType(Test).configureEach {
testLogging {
events 'STARTED', 'FAILED', 'PASSED', 'SKIPPED'
exceptionFormat = 'FULL'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]");
this.testTarGzip.assertHasExpectedLayers(buildpack);
}
Expand Down

0 comments on commit f038e74

Please sign in to comment.