Skip to content

Commit 456e795

Browse files
committed
step
1 parent af66da0 commit 456e795

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extra/ci_collect_logs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ details_line() {
3737
fi
3838
if [ $SKETCH_ISSUES_COUNT -ne 0 ] ; then
3939
SUMMARY="${SUMMARY} with ${SKETCH_ISSUES_COUNT} issues"
40-
BODY="\n\n\`\`\`\n${SKETCH_ISSUES}\`\`\`\n"
40+
BODY="\n\n\`\`\`\n${SKETCH_ISSUES}\n\`\`\`\n"
4141
else
4242
BODY=""
4343
fi
@@ -70,7 +70,7 @@ for artifact in $ARTIFACTS ; do
7070
for i in $(seq 0 $((SKETCH_COUNT - 1))) ; do
7171
REPORT=$(echo $REPORTS | jq -cr ".[$i]")
7272
SKETCH_NAME=$(echo $REPORT | jq -cr '.name')
73-
SKETCH_ISSUES=$(echo $REPORT | jq -cr '.issues')
73+
SKETCH_ISSUES=$(echo $REPORT | jq -cr '.issues.[]')
7474
SKETCH_ISSUES_COUNT=$(echo $REPORT | jq -cr '.issues | length')
7575
if ! $(echo $REPORT | jq -cr '.compilation_success') ; then
7676
SKETCH_ERRORS=$((SKETCH_ERRORS + 1))

0 commit comments

Comments
 (0)