Skip to content

Commit 248dc8c

Browse files
committed
Revert "Show the Robot Framework report in after_failure hook."
This reverts commit b22a9cc. Addressed to #631 The issue with truncated logs will be solved by another way.
1 parent 90063d4 commit 248dc8c

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ script:
3838
exit 1;
3939
fi
4040

41-
after_failure:
42-
# In order to be able debug robot framework test flakes we need to have a report.
43-
# Just encode it to a gzipped binary form and dump to console.
44-
- if fgrep -qs 'status="FAIL"' target/robotframework-reports/output.xml; then
45-
echo "===== REPORT START ====="
46-
cat target/robotframework-reports/output.xml | gzip -c | base64
47-
echo "===== REPORT END ====="
48-
fi
49-
5041
after_success:
5142
- if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
5243
./src/main/scripts/ci/publish-code-coverage.sh;

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'yes' ]; then
224224
if [ "$DANGER_STATUS" != 'skip' ]; then
225225
print_log danger.log 'Run danger'
226226
fi
227+
228+
# In order to be able debug robot framework test flakes we need to have a report.
229+
# Just encode it to a gzipped binary form and dump to console.
230+
if fgrep -qs 'status="FAIL"' target/robotframework-reports/output.xml; then
231+
echo "===== REPORT START ====="
232+
cat target/robotframework-reports/output.xml | gzip -c | base64
233+
echo "===== REPORT END ====="
234+
fi
227235
fi
228236

229237
# We don't remove the logs to make them available to danger that may be executed later as a separate

0 commit comments

Comments
 (0)