Commit c08975d0 authored by Thomas Boni's avatar Thomas Boni
Browse files

extract message to ensure beautiful display in Gitlab

parent f4aedbf7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@ super_linter:
    - cd $OUTPUT_FOLDER
    - for report in *; do
    -     cat $report | tap-junit -p -s "${REPORT_SUITE_TEST_NAME}" > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml # convert each tap file to junit xml
    -     sed -i 's/\\n/\
/g' ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml # encode newlines
    -     sed -i 's/<failure message="\(.\+\)" type="fail">.*/<failure message="" type="fail">\n\1/g' ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml # extract message to improve report display
    -     sed -i 's/\\n/\n/g' ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml # add new line
    - done
  variables:
    RUN_LOCAL: "true"