@@ -143,9 +143,14 @@ runs:
143143 if : ${{ env.patch_otel_java_contrib == 'true' }}
144144 shell : bash
145145 run : |
146- echo "=== OPENTELEMETRY-JAVA-CONTRIB LAST 15000 LINES ==="
146+ echo "=== OPENTELEMETRY-JAVA-CONTRIB DEBUG INFO ==="
147147 cd opentelemetry-java-contrib || exit 1
148- find . -name "*.log" -type f | head -1 | xargs -I {} tail -15000 "{}" || echo "No log files found"
148+ echo "=== BUILD DIRECTORIES ==="
149+ find . -name "build" -type d | head -5
150+ echo "=== GRADLE LOGS ==="
151+ find ~/.gradle -name "*.log" -type f 2>/dev/null | head -3 | xargs -I {} sh -c 'echo "=== {} ===" && tail -100 "{}"' || echo "No gradle logs found"
152+ echo "=== BUILD REPORTS ==="
153+ find . -path "*/build/reports" -type d | head -3 | xargs -I {} find {} -name "*.html" | head -5 || echo "No build reports found"
149154
150155 - name : cleanup opentelemetry-java-contrib
151156 run : rm -rf opentelemetry-java-contrib
@@ -163,9 +168,14 @@ runs:
163168 if : ${{ env.patch_otel_java_instrumentation == 'true' }}
164169 shell : bash
165170 run : |
166- echo "=== OPENTELEMETRY-JAVA-INSTRUMENTATION LAST 15000 LINES ==="
171+ echo "=== OPENTELEMETRY-JAVA-INSTRUMENTATION DEBUG INFO ==="
167172 cd opentelemetry-java-instrumentation || exit 1
168- find . -name "*.log" -type f | head -1 | xargs -I {} tail -15000 "{}" || echo "No log files found"
173+ echo "=== BUILD DIRECTORIES ==="
174+ find . -name "build" -type d | head -5
175+ echo "=== GRADLE LOGS ==="
176+ find ~/.gradle -name "*.log" -type f 2>/dev/null | head -3 | xargs -I {} sh -c 'echo "=== {} ===" && tail -100 "{}"' || echo "No gradle logs found"
177+ echo "=== BUILD REPORTS ==="
178+ find . -path "*/build/reports" -type d | head -3 | xargs -I {} find {} -name "*.html" | head -5 || echo "No build reports found"
169179
170180 - name : cleanup opentelmetry-java-instrumentation
171181 run : rm -rf opentelemetry-java-instrumentation
0 commit comments