ci: refs #6695 try use cache
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
d03b409c3c
commit
2e26a0b32a
|
@ -102,13 +102,14 @@ pipeline {
|
||||||
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
|
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
|
||||||
|
|
||||||
def networkLowerCase = env.NETWORK.toLowerCase()
|
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("""
|
image.inside("""
|
||||||
--network ${networkLowerCase}_default
|
--network ${networkLowerCase}_default
|
||||||
-e TZ=Europe/Madrid
|
-e TZ=Europe/Madrid
|
||||||
-e DOCKER=true
|
-e DOCKER=true
|
||||||
-e CI=true
|
-e CI=true
|
||||||
-v .:/app
|
-v ${env.WORKSPACE}:/app
|
||||||
|
-v ${env.WORKSPACE}/cypress-cache:/home/node/.cache/Cypress
|
||||||
-w /app
|
-w /app
|
||||||
""".stripIndent()) {
|
""".stripIndent()) {
|
||||||
sh 'pnpm exec cypress run --browser chromium'
|
sh 'pnpm exec cypress run --browser chromium'
|
||||||
|
|
Loading…
Reference in New Issue