File tree 2 files changed +9
-8
lines changed 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,15 @@ script:
38
38
exit 1;
39
39
fi
40
40
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
+
41
50
after_success :
42
51
- if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
43
52
./src/main/scripts/ci/publish-code-coverage.sh;
Original file line number Diff line number Diff line change @@ -224,14 +224,6 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'yes' ]; then
224
224
if [ " $DANGER_STATUS " != ' skip' ]; then
225
225
print_log danger.log ' Run danger'
226
226
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
235
227
fi
236
228
237
229
# We don't remove the logs to make them available to danger that may be executed later as a separate
You can’t perform that action at this time.
0 commit comments