Commit 7adca17a authored by Thomas Boni's avatar Thomas Boni
Browse files

encode newline in reports

parent 0e394394
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@ super_linter:
    - mkdir ${CONVERTED_OUTPUT_FOLDER}
    - cd $OUTPUT_FOLDER
    - for report in *; do
    -     cat $report | tap-junit -p -s "${REPORT_SUITE_TEST_NAME}" > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml
    -     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
    - done
  variables:
    RUN_LOCAL: "true"