Skip to content

Commit 9d1da8b

Browse files
authored
Fix build scan step (#12845)
1 parent 0c32f85 commit 9d1da8b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

settings.gradle.kts

+8
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ develocity {
5353
publishing.onlyIf { System.getenv("CI") != null }
5454
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
5555
termsOfUseAgree.set("yes")
56+
57+
if (!gradle.startParameter.taskNames.contains("listTestsInPartition")) {
58+
buildScanPublished {
59+
File("build-scan.txt").printWriter().use { writer ->
60+
writer.println(buildScanUri)
61+
}
62+
}
63+
}
5664
}
5765
}
5866

0 commit comments

Comments
 (0)