Apache Solr open-source search software
build: print broken links
David Smiley87785bbf3f67
diff --git a/gradle/validation/check-broken-links.gradle b/gradle/validation/check-broken-links.gradleindex 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()}")}}