[web] add junit integration for Jenkins (#28788)

* [web] add junit integration for Jenkins

* [web] integrate junit test report for writefull into Jenkins

* [web] put all the junit test results into namespaces

GitOrigin-RevId: ba1ff07b5ea7bcfa97bb4d6bf7fa9e5291ab7b0f
This commit is contained in:
Jakob Ackermann
2025-10-02 08:06:25 +00:00
committed by Copybot
parent e8bc186ca0
commit c3c04acfea
13 changed files with 194 additions and 262 deletions
+11
View File
@@ -15,6 +15,8 @@ services:
environment:
BASE_CONFIG:
OVERLEAF_CONFIG:
CI:
MOCHA_ROOT_SUITE_NAME:
MOCHA_GREP: ${MOCHA_GREP}
LOG_LEVEL: ${LOG_LEVEL:-}
NODE_ENV: test
@@ -40,6 +42,8 @@ services:
environment:
BASE_CONFIG:
OVERLEAF_CONFIG:
CI:
MOCHA_ROOT_SUITE_NAME:
MOCHA_GREP: ${MOCHA_GREP}
LOG_LEVEL: ${LOG_LEVEL:-}
MONGO_SERVER_SELECTION_TIMEOUT: 600000
@@ -68,6 +72,8 @@ services:
- ../../libraries:/overleaf/libraries
working_dir: /overleaf/services/web
environment:
CI:
MOCHA_ROOT_SUITE_NAME:
MOCHA_GREP: ${MOCHA_GREP}
NODE_OPTIONS: "--unhandled-rejections=strict"
VERBOSE_LOGGING:
@@ -79,8 +85,11 @@ services:
volumes:
- ../../:/overleaf
working_dir: /overleaf/services/web
user: "${DOCKER_USER:-1000:1000}"
environment:
VERBOSE_LOGGING:
CI:
MOCHA_ROOT_SUITE_NAME:
CYPRESS_SPEC_PATTERN: ${CYPRESS_SPEC_PATTERN:-}
CYPRESS_EXCLUDE_SPEC_PATTERN: ${CYPRESS_EXCLUDE_SPEC_PATTERN:-}
entrypoint: npm
@@ -99,6 +108,8 @@ services:
- ../../libraries:/overleaf/libraries
working_dir: /overleaf/services/web
environment:
CI:
MOCHA_ROOT_SUITE_NAME:
NODE_OPTIONS: "--unhandled-rejections=strict"
VERBOSE_LOGGING:
command: npm run --silent test:writefull