Skip to content

Commit e0282ca

Browse files
committed
Enable develocity for all Gradle builds
1 parent ce0a08e commit e0282ca

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

generate-pages

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ run copyPdf cp -rp build/pdf build/microsite/output
4444
run copyStandalone cp -rp build/html5/images build/microsite/output \
4545
&& mkdir -p build/microsite/output/single-page/ \
4646
&& cp -p build/html5/arc42/hsc_arc42.html build/microsite/output/single-page/hsc_arc42-single-page.html
47-
run htmlSanityCheck "(cd self-check && ../gradlew htmlSanityCheck --refresh-dependencies --scan)"
47+
run htmlSanityCheck "(cd self-check && ../gradlew htmlSanityCheck --scan --refresh-dependencies --scan)"
4848
run copyCheckResult cp -rp build/reports/htmlchecks build/microsite/output
4949
run fixDocLinks "sed -i .bak \
5050
-e 's, href=\"${PWD}/build/microsite/output/, href=\"../,g' \

integration-test/common/settings.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
plugins {
2+
// to report build results back to gradle.org
3+
id 'com.gradle.develocity' version '3.17.6'
4+
}
5+
6+
develocity {
7+
buildScan {
8+
termsOfUseUrl = 'https://gradle.com/terms-of-service'
9+
termsOfUseAgree = 'yes'
10+
11+
publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
12+
}
13+
}
14+
115
rootProject.name = 'hsc-integration-test-common'
216

317
/*

integration-test/settings.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
plugins {
2+
// to report build results back to gradle.org
3+
id 'com.gradle.develocity' version '3.17.6'
4+
}
5+
6+
develocity {
7+
buildScan {
8+
termsOfUseUrl = 'https://gradle.com/terms-of-service'
9+
termsOfUseAgree = 'yes'
10+
11+
publishing.onlyIf { System.getenv("GRADLE_BUILD_SCAN") == 'true' }
12+
}
13+
}
14+
115
rootProject.name = 'hsc-integration-test'
216

317
/*

0 commit comments

Comments
 (0)