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

This commit is contained in:
Alex Moreno 2025-02-13 10:03:22 +01:00
parent 0a16b4cb52
commit 3d8c397094
2 changed files with 2 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -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"
}

View File

@ -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