ci: refs #6695 try
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2025-02-19 12:27:47 +01:00
parent bd522c301f
commit f9ba72a2bc
1 changed files with 12 additions and 12 deletions

24
Jenkinsfile vendored
View File

@ -101,18 +101,18 @@ 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', "-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'
// }
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down"
}
}