feat: refs #6695 update cypress command in Jenkinsfile and docker-compose.e2e.yml
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
969570d099
commit
e9389a00fd
|
@ -102,7 +102,6 @@ pipeline {
|
|||
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
|
||||
cleanDockerE2E()
|
||||
sh "pnpm exec cypress install"
|
||||
sh "pnpx exec cypress cache path"
|
||||
// sh "docker network create ${env.NETWORK} || true"
|
||||
}
|
||||
|
||||
|
|
|
@ -23,10 +23,9 @@ services:
|
|||
e2e:
|
||||
image: alexmorenovn/vndev:latest
|
||||
# command: pnpm exec cypress run --browser chromium
|
||||
command: pnpm exec cypress run --headed
|
||||
command: sh -c "pnpm exec cypress install && pnpm exec cypress run --headed --spec ${CYPRESS_SPEC:?}"
|
||||
environment:
|
||||
- TZ=Europe/Madrid
|
||||
- CYPRESS_CACHE_FOLDER=/.cache/Cypress
|
||||
volumes:
|
||||
- .:/app
|
||||
working_dir: /app
|
||||
|
@ -34,8 +33,6 @@ services:
|
|||
image: alexmorenovn/vn_db:latest
|
||||
# ports:
|
||||
# - '3306:3306'
|
||||
volumes:
|
||||
cypress-cache:
|
||||
|
||||
# e2e:
|
||||
# command: npx cypress run --browser chromium
|
||||
|
|
Loading…
Reference in New Issue