ci: refs #6695 streamline Cypress E2E test execution in Jenkinsfile and improve error handling
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Alex Moreno 2025-02-19 08:31:42 +01:00
parent 974241a9b3
commit d5dd8b98bf
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -111,8 +111,9 @@ pipeline {
steps {
script {
sh "docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml up -d"
def networkLowerCase = env.NETWORK.toLowerCase()
def containerId = sh(script: """
docker run --network ${env.NETWORK}_default \
docker run --network ${networkLowerCase}_default \
-e TZ=Europe/Madrid \
-e DOCKER=true \
-e CI=true \