Add test for build-scan publish failure

This commit is contained in:
Daz DeBoer 2022-06-19 09:16:27 -06:00
parent df4c1902a6
commit 1903bd4674
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
3 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,6 @@
plugins { plugins {
id "com.gradle.enterprise" version "3.10.2" id "com.gradle.enterprise" version "3.10.2"
id "com.gradle.common-custom-user-data-gradle-plugin" version "1.7.2"
} }
gradleEnterprise { gradleEnterprise {

View file

@ -1,5 +1,6 @@
plugins { plugins {
id("com.gradle.enterprise") version "3.10.2" id("com.gradle.enterprise") version "3.10.2"
id("com.gradle.common-custom-user-data-gradle-plugin") version "1.7.2"
} }
gradleEnterprise { gradleEnterprise {

View file

@ -26,6 +26,9 @@ jobs:
- name: Build kotlin-dsl project without build scan - name: Build kotlin-dsl project without build scan
working-directory: .github/workflow-samples/kotlin-dsl working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew check --no-scan 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 - name: Build groovy-dsl project
working-directory: .github/workflow-samples/groovy-dsl working-directory: .github/workflow-samples/groovy-dsl
run: ./gradlew assemble run: ./gradlew assemble