ci: refs #6695 try use cache
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-19 12:55:20 +01:00
parent d03b409c3c
commit 2e26a0b32a
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -102,13 +102,14 @@ pipeline {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
def networkLowerCase = env.NETWORK.toLowerCase()
def image = docker.build('cypress-setup-test:latest', '-f ./test/cypress/Dockerfile .')
def image = docker.build('cypress-setup:latest', '-f ./test/cypress/Dockerfile .')
image.inside("""
--network ${networkLowerCase}_default
-e TZ=Europe/Madrid
-e DOCKER=true
-e CI=true
-v .:/app
-v ${env.WORKSPACE}:/app
-v ${env.WORKSPACE}/cypress-cache:/home/node/.cache/Cypress
-w /app
""".stripIndent()) {
sh 'pnpm exec cypress run --browser chromium'