ci: refs #6695 try
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:29:41 +01:00
parent f9ba72a2bc
commit 1de829f016
1 changed files with 14 additions and 12 deletions

26
Jenkinsfile vendored
View File

@ -101,18 +101,20 @@ pipeline {
docker.build('cypress-setup:latest', "-f ./test/cypress/Dockerfile .")
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
// def networkLowerCase = env.NETWORK.toLowerCase()
// def image = docker.image('cypress-setup', "-f ./test/cypress/Dockerfile .")
// image.inside("""
// --network ${networkLowerCase}_default \
// -e TZ=Europe/Madrid \
// -e DOCKER=true \
// -e CI=true \
// -v .:/app \
// -w /app \
// """) {
// sh 'pnpm exec cypress run --browser chromium'
// }
def networkLowerCase = env.NETWORK.toLowerCase()
def image = docker.image('cypress-setup:latest')
image.inside("""
--network ${networkLowerCase}_default \
-e TZ=Europe/Madrid \
-e DOCKER=true \
-e CI=true \
-v .:/app \
-w /app \
""") {
sh 'pnpm exec cypress run --browser chromium'
}
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down"
}
}