Skip to content

Commit 921974d

Browse files
committed
check-build-and-verify.sh: gzip the report before encoding.
Try to workaround TravisCI problem when it trims builds output. Details: travis-ci/travis-ci#8189 No functional changes.
1 parent b01e997 commit 921974d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scripts/ci/check-build-and-verify.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ if [ "$DANGER_STATUS" != 'skip' ]; then
233233
fi
234234

235235
# In order to be able debug robot framework test flakes we need to have a report.
236-
# Just encode it to a binary form and dump to console.
236+
# Just encode it to a gzipped binary form and dump to console.
237237
if fgrep -qs 'status="FAIL"' target/robotframework-reports/output.xml; then
238238
echo "===== REPORT START ====="
239-
base64 target/robotframework-reports/log.html
239+
cat target/robotframework-reports/log.html | gzip -c | base64
240240
echo "===== REPORT END ====="
241241
fi
242242

0 commit comments

Comments
 (0)