This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 87785bbf3f6 build: print broken links
87785bbf3f6 is described below
commit 87785bbf3f67c4753c8bf403ea8e7c406b52d3da
Author: David Smiley <[email protected]>
AuthorDate: Thu Nov 27 09:52:54 2025 -0500
build: print broken links
---
gradle/validation/check-broken-links.gradle | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gradle/validation/check-broken-links.gradle
b/gradle/validation/check-broken-links.gradle
index 885e1a75758..a2e3e01f112 100644
--- a/gradle/validation/check-broken-links.gradle
+++ b/gradle/validation/check-broken-links.gradle
@@ -64,6 +64,10 @@ class CheckBrokenLinksTask extends DefaultTask {
}
if (result.getExitValue() != 0) {
+ println "Broken links check failed. First lines of the output:"
+ outputFile.get().asFile.readLines().take(20).each { line ->
+ println line
+ }
throw new GradleException("Broken links check failed. Command output at:
${outputFile.get()}")
}
}