Loading jobs/super_linter/README.md +1 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ customize its behavior. | **FILTER_REGEX_INCLUDE** | Regular expression defining which files will be processed by linters (ex: `.*src/.*`) | `all` | | **LOG_LEVEL** | How much output the script will generate to the console. One of `VERBOSE`, `DEBUG` or `TRACE`. | `VERBOSE` | | **MULTI_STATUS** | A status API is made for each language that is linted to make visual parsing easier. | `true` | | **REPORT_SUITE_TEST_NAME** | Name of test suite inside test report | `super_linter` | #### Linters configuration Loading jobs/super_linter/super_linter.yml +4 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ super_linter: - mkdir ${CONVERTED_OUTPUT_FOLDER} - cd $OUTPUT_FOLDER - for report in *; do - cat $report | tap-junit > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml - cat $report | tap-junit -p -s "${REPORT_SUITE_TEST_NAME}" > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml - done variables: RUN_LOCAL: "true" Loading @@ -26,8 +26,10 @@ super_linter: OUTPUT_FOLDER: "super-linter.report" CONVERTED_OUTPUT_FOLDER: "converted-xml.report" TAP_JUNIT_VERSION: "4.0.0" REPORT_SUITE_TEST_NAME: "super_linter" artifacts: reports: junit: "${CONVERTED_OUTPUT_FOLDER}/*.xml" expire_in: 30 days paths: - "${CONVERTED_OUTPUT_FOLDER}/*.xml" allow_failure: true Loading
jobs/super_linter/README.md +1 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,7 @@ customize its behavior. | **FILTER_REGEX_INCLUDE** | Regular expression defining which files will be processed by linters (ex: `.*src/.*`) | `all` | | **LOG_LEVEL** | How much output the script will generate to the console. One of `VERBOSE`, `DEBUG` or `TRACE`. | `VERBOSE` | | **MULTI_STATUS** | A status API is made for each language that is linted to make visual parsing easier. | `true` | | **REPORT_SUITE_TEST_NAME** | Name of test suite inside test report | `super_linter` | #### Linters configuration Loading
jobs/super_linter/super_linter.yml +4 −2 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ super_linter: - mkdir ${CONVERTED_OUTPUT_FOLDER} - cd $OUTPUT_FOLDER - for report in *; do - cat $report | tap-junit > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml - cat $report | tap-junit -p -s "${REPORT_SUITE_TEST_NAME}" > ../${CONVERTED_OUTPUT_FOLDER}/${report}.xml - done variables: RUN_LOCAL: "true" Loading @@ -26,8 +26,10 @@ super_linter: OUTPUT_FOLDER: "super-linter.report" CONVERTED_OUTPUT_FOLDER: "converted-xml.report" TAP_JUNIT_VERSION: "4.0.0" REPORT_SUITE_TEST_NAME: "super_linter" artifacts: reports: junit: "${CONVERTED_OUTPUT_FOLDER}/*.xml" expire_in: 30 days paths: - "${CONVERTED_OUTPUT_FOLDER}/*.xml" allow_failure: true