From 1903bd467486de1b84ec586764b345bb5e43b44f Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Sun, 19 Jun 2022 09:16:27 -0600 Subject: [PATCH] Add test for build-scan publish failure --- .github/workflow-samples/groovy-dsl/settings.gradle | 1 + .github/workflow-samples/kotlin-dsl/settings.gradle.kts | 1 + .github/workflows/demo-job-summary.yml | 3 +++ 3 files changed, 5 insertions(+) diff --git a/.github/workflow-samples/groovy-dsl/settings.gradle b/.github/workflow-samples/groovy-dsl/settings.gradle index f33e3a7..1bce017 100644 --- a/.github/workflow-samples/groovy-dsl/settings.gradle +++ b/.github/workflow-samples/groovy-dsl/settings.gradle @@ -1,5 +1,6 @@ plugins { id "com.gradle.enterprise" version "3.10.2" + id "com.gradle.common-custom-user-data-gradle-plugin" version "1.7.2" } gradleEnterprise { diff --git a/.github/workflow-samples/kotlin-dsl/settings.gradle.kts b/.github/workflow-samples/kotlin-dsl/settings.gradle.kts index 41d9d6d..7defd29 100644 --- a/.github/workflow-samples/kotlin-dsl/settings.gradle.kts +++ b/.github/workflow-samples/kotlin-dsl/settings.gradle.kts @@ -1,5 +1,6 @@ plugins { id("com.gradle.enterprise") version "3.10.2" + id("com.gradle.common-custom-user-data-gradle-plugin") version "1.7.2" } gradleEnterprise { diff --git a/.github/workflows/demo-job-summary.yml b/.github/workflows/demo-job-summary.yml index 85dfbf1..b56d748 100644 --- a/.github/workflows/demo-job-summary.yml +++ b/.github/workflows/demo-job-summary.yml @@ -26,6 +26,9 @@ jobs: - name: Build kotlin-dsl project without build scan working-directory: .github/workflow-samples/kotlin-dsl run: ./gradlew check --no-scan + - name: Build kotlin-dsl project with build scan publish failure + working-directory: .github/workflow-samples/kotlin-dsl + run: ./gradlew check -Dgradle.enterprise.url=https://not.valid.server - name: Build groovy-dsl project working-directory: .github/workflow-samples/groovy-dsl run: ./gradlew assemble