Skip to content

Commit

Permalink
Fix <testsuits> removal
Browse files Browse the repository at this point in the history
  • Loading branch information
magaupp committed Jul 5, 2024
1 parent 9c30af5 commit 1fac431
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test-job:
- export ARTEMIS_TEST_GIT_TOKEN=[hidden]
- npm ci --prefer-offline --no-audit | tee -a "${ARTEMIS_BUILD_LOGS_FILE}"
- npm run test:ci | tee -a "${ARTEMIS_BUILD_LOGS_FILE}" && echo "ARTEMIS_BUILD_STATUS=success" > .env || echo "ARTEMIS_BUILD_STATUS=failed" > .env
- test -e junit.xml && sed -i 's/<testsuites>//g ; s/<\/testsuites>//g' junit.xml # <testsuites> not supported by notification plugin
- test -e junit.xml && sed -i 's/<testsuites[^>]*>//g ; s/<\/testsuites>//g' junit.xml # <testsuites> not supported by notification plugin
after_script:
- echo "ARTEMIS_TEST_GIT_HASH=$(git rev-parse HEAD)" >> .env
- echo "ARTEMIS_SUBMISSION_GIT_HASH=${CI_COMMIT_SHA}" >> .env
Expand Down

0 comments on commit 1fac431

Please sign in to comment.