feat: refs #6695 update cypress-cache volume path in 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
0a16b4cb52
commit
3d8c397094
|
@ -64,7 +64,6 @@ pipeline {
|
|||
}
|
||||
steps {
|
||||
sh 'pnpm install --prefer-offline'
|
||||
sh 'pnpm exec cypress install'
|
||||
}
|
||||
}
|
||||
// stage('Test: Unit') {
|
||||
|
@ -102,6 +101,7 @@ pipeline {
|
|||
env.VERSION = "${packageJson.version}-build${env.BUILD_ID}"
|
||||
env.NETWORK = "${PROJECT_NAME}-${env.BRANCH_NAME}-${env.BUILD_ID}"
|
||||
cleanDockerE2E()
|
||||
env.CYPRESS_CACHE_FOLDER = "/.cache/Cypress"
|
||||
sh "pnpm exec cypress install"
|
||||
// sh "docker network create ${env.NETWORK} || true"
|
||||
}
|
||||
|
|
|
@ -26,10 +26,9 @@ services:
|
|||
command: pnpm exec cypress run --headed
|
||||
environment:
|
||||
- TZ=Europe/Madrid
|
||||
- CYPRESS_CACHE_FOLDER=/root/.cache/Cypress
|
||||
- CYPRESS_CACHE_FOLDER=/.cache/Cypress
|
||||
volumes:
|
||||
- .:/app
|
||||
- /home/jenkins/.cache/Cypress:/root/.cache/Cypress
|
||||
working_dir: /app
|
||||
vn-database:
|
||||
image: alexmorenovn/vn_db:latest
|
||||
|
|
Loading…
Reference in New Issue