This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 02b7cc1c3f52bf9d129951a47b94bba57b131232
Author: David Smiley <[email protected]>
AuthorDate: Thu Nov 27 09:52:54 2025 -0500

    build: print broken links
    
    (cherry picked from commit 87785bbf3f67c4753c8bf403ea8e7c406b52d3da)
---
 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()}")
     }
   }

Reply via email to