mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user